summaryrefslogtreecommitdiff
path: root/mkconfig.rb
diff options
context:
space:
mode:
authoreban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-09-27 07:22:17 +0000
committereban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-09-27 07:22:17 +0000
commit25aa3816b173efa6889f2832c34da13021f656eb (patch)
tree0f77cffc06e030ad5940d84fc1e4eafb504f75fe /mkconfig.rb
parentd1fb5f16d591d8f32c151152b0b0d159a5cbc4c2 (diff)
eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@980 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'mkconfig.rb')
-rw-r--r--mkconfig.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/mkconfig.rb b/mkconfig.rb
index c2fbaf0..175a4c3 100644
--- a/mkconfig.rb
+++ b/mkconfig.rb
@@ -39,7 +39,7 @@ File.foreach "config.status" do |$_|
next if $install_name and name =~ /^RUBY_INSTALL_NAME$/
next if $so_name and name =~ /^RUBY_SO_NAME$/
v = " CONFIG[\"" + name + "\"] = " +
- val.sub(/^\s*(.*)\s*$/, '"\1"').gsub(/\$\{?([^(){}]+)\}?/) {
+ val.sub(/^\s*(.*)\s*$/, '"\1"').gsub(/\$\{?(\w+)\}?/) {
"\#{CONFIG[\\\"#{$1}\\\"]}"
} + "\n"
if fast[name]