mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* mkconfig.rb: unexpected `"ruby".sub("$","17") == "ruby"'
because of recent change in string.c:get_pat(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2661 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
ce84517f2c
commit
448610abec
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ File.foreach "config.status" do |line|
|
|||
if /^s[%,]@program_transform_name@[%,]s,(.*)/ =~ line
|
||||
next if $install_name
|
||||
ptn = $1.sub(/\$\$/, '$').split(/,/) #'
|
||||
v_fast << " CONFIG[\"ruby_install_name\"] = \"" + "ruby".sub(ptn[0],ptn[1]) + "\"\n"
|
||||
v_fast << " CONFIG[\"ruby_install_name\"] = \"" + "ruby".sub(/#{ptn[0]}/,ptn[1]) + "\"\n"
|
||||
elsif /^s[%,]@(\w+)@[%,](.*)[%,]/ =~ line
|
||||
name = $1
|
||||
val = $2 || ""
|
||||
|
|
Loading…
Reference in a new issue