escape "{" too.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13933 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2007-11-15 08:33:10 +00:00
parent 479c06d19d
commit 790f631301

View File

@ -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"