From 72f1f38c2454e011e2b12bfce60be061cfebd6e9 Mon Sep 17 00:00:00 2001 From: eban Date: Fri, 25 May 2001 01:33:03 +0000 Subject: * mkconfig.rb: typo. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1454 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- mkconfig.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mkconfig.rb b/mkconfig.rb index 14e5829f5..178e934b5 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 -- cgit