summaryrefslogtreecommitdiffstats
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
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
-rw-r--r--ChangeLog2
-rw-r--r--mkconfig.rb2
2 files changed, 3 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 7e979f790..b95db3e78 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,8 @@ Wed Jul 9 15:38:28 2003 WATANABE Hirofumi <eban@ruby-lang.org>
* instruby.rb: do not install shared libraries as man pages.
+ * mkconfig.rb: support text-mount on Cygwin.
+
Wed Jul 09 11:09:57 2003 NAKAMURA Usaku <usa@ruby-lang.org>
* re.c (match_entry): add prototype to avoid VC++ warnings.
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