summaryrefslogtreecommitdiff
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
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
-rw-r--r--ChangeLog2
-rw-r--r--mkconfig.rb2
2 files changed, 3 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 7e979f790a..b95db3e785 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 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