Bug #11798 ยป mkconfig.patch
| tool/mkconfig.rb | ||
|---|---|---|
|
var
|
||
|
end
|
||
|
}
|
||
|
val.replace(newval) unless newval == val
|
||
|
val
|
||
|
end
|
||
|
CONFIG.each_value do |val|
|
||
|
RbConfig::expand(val)
|
||
|
newval != val ? newval : val
|
||
|
end
|
||
|
CONFIG.update(CONFIG) { |_, val| RbConfig::expand(val) }
|
||
|
# returns the absolute pathname of the ruby command.
|
||
|
def RbConfig.ruby
|
||
|
File.join(
|
||