summaryrefslogtreecommitdiffstats
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
commit7fe77ffa7b6fe8097cc5e9ae150a9c000922af81 (patch)
treebc42b562ce16d325fe5f05509310959e14440e62 /mkconfig.rb
parent862cc06e9682e59ff1d26f7bf84a87955ef82729 (diff)
downloadruby-7fe77ffa7b6fe8097cc5e9ae150a9c000922af81.tar.gz
ruby-7fe77ffa7b6fe8097cc5e9ae150a9c000922af81.tar.xz
ruby-7fe77ffa7b6fe8097cc5e9ae150a9c000922af81.zip
* mkconfig.rb: support text-mount on Cygwin.
git-svn-id: http://svn.ruby-lang.org/repos/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 424458014..9eea3198a 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