summaryrefslogtreecommitdiff
path: root/tool/compile_prelude.rb
diff options
context:
space:
mode:
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 90d0839dc6..4d3707a8c9 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
$&