summaryrefslogtreecommitdiff
path: root/mkconfig.rb
diff options
context:
space:
mode:
authoreban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-07-09 09:27:40 +0000
committereban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-07-09 09:27:40 +0000
commiteeba4b02e8bcdfab4f97c85956469f239d2428a7 (patch)
treebc42b562ce16d325fe5f05509310959e14440e62 /mkconfig.rb
parent279385a00287e57cecc240fda4ef846c4afcfdea (diff)
* mkconfig.rb: support text-mount on Cygwin.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4047 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 4244580147..9eea3198a1 100644
--- a/mkconfig.rb
+++ b/mkconfig.rb
@@ -48,7 +48,7 @@ File.foreach "config.status" do |line|
end
has_version = true if name == "MAJOR"
elsif /^(?:ac_given_)?srcdir=(.*)/ =~ line
- srcdir = $1
+ srcdir = $1.strip
elsif /^ac_given_INSTALL=(.*)/ =~ line
v_fast << " CONFIG[\"INSTALL\"] = " + $1 + "\n"
end