summaryrefslogtreecommitdiff
path: root/ext/configsub.rb
diff options
context:
space:
mode:
Diffstat (limited to 'ext/configsub.rb')
-rw-r--r--ext/configsub.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/configsub.rb b/ext/configsub.rb
index 679078ff11..47689d7ec0 100644
--- a/ext/configsub.rb
+++ b/ext/configsub.rb
@@ -12,7 +12,7 @@ BEGIN {
File.foreach($config || "config.status") do |line|
next if /^#/ =~ line
- if /^s[%,]@(\w+)@[%,](.*)[%,]g/ =~ line
+ if /^s[%,]@(\w+)@[%,](.*)[%,][g;]/ =~ line
name = $1
val = $2 || ""
next if /^(INSTALL|DEFS|configure_input|srcdir)$/ =~ name