summaryrefslogtreecommitdiffstats
path: root/mkconfig.rb
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-08-05 09:27:21 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-08-05 09:27:21 +0000
commit32fd8835866d73bfd349bbb68db63cdebcda4ceb (patch)
treed10d7abe63a6dde453a96ee99953380b89a9e854 /mkconfig.rb
parent21aa7990efeedec6050936c63bfeb77664a06267 (diff)
downloadruby-32fd8835866d73bfd349bbb68db63cdebcda4ceb.tar.gz
ruby-32fd8835866d73bfd349bbb68db63cdebcda4ceb.tar.xz
ruby-32fd8835866d73bfd349bbb68db63cdebcda4ceb.zip
* lib/shell/command-processor.rb (Shell::CommandProcessor::rmdir):
simple typo. * string.c (str_new4): ptr may refer null_str. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4328 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 b697dfb9d..b0abee35a 100644
--- a/mkconfig.rb
+++ b/mkconfig.rb
@@ -45,7 +45,7 @@ File.foreach "config.status" do |line|
next if $install_name and /^RUBY_INSTALL_NAME$/ =~ name
next if $so_name and /^RUBY_SO_NAME$/ =~ name
v = " CONFIG[\"" + name + "\"] = " +
- val.gsub(/\$(?:\$|\{?(\w+)\}?)/) {$1?"$(#{$1})":$&}.dump + "\n"
+ val.gsub(/\$(?:\$|\{?(\w+)\}?)/) {$1 ? "$(#{$1})" : $&}.dump + "\n"
if fast[name]
v_fast << v
else