summaryrefslogtreecommitdiff
path: root/tool/compile_prelude.rb
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-11-15 08:33:10 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-11-15 08:33:10 +0000
commit790f631301b8318df8b57ec8967fb2a56215cf76 (patch)
tree7a293a6896de6c7123cf7b44ff08815d40455243 /tool/compile_prelude.rb
parent479c06d19d415f19a97f296c27a8a021f0c131c6 (diff)
escape "{" too.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13933 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'tool/compile_prelude.rb')
-rw-r--r--tool/compile_prelude.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/compile_prelude.rb b/tool/compile_prelude.rb
index 314c986..7199434 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"