ruby-changes:2442
From: ko1@a...
Date: 15 Nov 2007 17:33:30 +0900
Subject: [ruby-changes:2442] akr - Ruby:r13933 (trunk): escape "{" too.
akr 2007-11-15 17:33:10 +0900 (Thu, 15 Nov 2007) New Revision: 13933 Modified files: trunk/tool/compile_prelude.rb Log: escape "{" too. http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/tool/compile_prelude.rb?r1=13933&r2=13932 Index: tool/compile_prelude.rb =================================================================== --- tool/compile_prelude.rb (revision 13932) +++ tool/compile_prelude.rb (revision 13933) @@ -39,7 +39,7 @@ end if RbConfig::MAKEFILE_CONFIG.has_key? key val = RbConfig.expand("$(#{key})", mkconf) - need_ruby_prefix = true if /\A\#{TMP_RUBY_PREFIX\}/ =~ val + need_ruby_prefix = true if /\A\#\{TMP_RUBY_PREFIX\}/ =~ val c_esc(val) else "nil" -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml