From 790f631301b8318df8b57ec8967fb2a56215cf76 Mon Sep 17 00:00:00 2001 From: akr Date: Thu, 15 Nov 2007 08:33:10 +0000 Subject: [PATCH] escape "{" too. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13933 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- tool/compile_prelude.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tool/compile_prelude.rb b/tool/compile_prelude.rb index 314c98689e..7199434441 100644 --- a/tool/compile_prelude.rb +++ b/tool/compile_prelude.rb @@ -39,7 +39,7 @@ lines_list = preludes.map {|filename| 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"