summaryrefslogtreecommitdiff
path: root/mkconfig.rb
diff options
context:
space:
mode:
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