summaryrefslogtreecommitdiff
path: root/mkconfig.rb
diff options
context:
space:
mode:
authoreban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-05-25 01:33:03 +0000
committereban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-05-25 01:33:03 +0000
commit75fbd377c427c3908ccc21c23ab629a0a0b74585 (patch)
tree57b6c43e8cf0e6b398a740b1cb4c6b702b342cf2 /mkconfig.rb
parent4e7c81084ed696518afcc4fa0ba716b486f9e0a8 (diff)
* mkconfig.rb: typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1454 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 14e5829..178e934 100644
--- a/mkconfig.rb
+++ b/mkconfig.rb
@@ -48,7 +48,7 @@ File.foreach "config.status" do |line|
v_others << v
end
has_version = true if name == "MAJOR"
- elsif /^(?:ac_given_)srcdir=(.*)/ =~ line
+ elsif /^(?:ac_given_)?srcdir=(.*)/ =~ line
v_fast << " CONFIG[\"srcdir\"] = \"" + File.expand_path($1) + "\"\n"
has_srcdir = true
elsif /^ac_given_INSTALL=(.*)/ =~ line