summaryrefslogtreecommitdiff
path: root/tool/compile_prelude.rb
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-11-15 03:15:37 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-11-15 03:15:37 +0000
commit4c56aaa162645ff29e5524271d38a6cf1113aa61 (patch)
tree826a6c4ceae79a6e6a3446ed4235645d19b6c58b /tool/compile_prelude.rb
parentaf6a9d70b27ba96366a2b7b37c0ed06d687d86bc (diff)
* tool/compile_prelude.rb (c_esc): need to escape closing brace.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13926 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 90d0839..4d3707a 100644
--- a/tool/compile_prelude.rb
+++ b/tool/compile_prelude.rb
@@ -36,7 +36,7 @@ lines_list = preludes.map {|filename|
end
if RbConfig::MAKEFILE_CONFIG.has_key? $1
val = RbConfig.expand("$(#$1)", mkconf)
- need_ruby_prefix = true if /\A\#{ruby_prefix}/ =~ val
+ need_ruby_prefix = true if /\A\#{ruby_prefix\}/ =~ val
c_esc(val)
else
$&