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 f90b2df..679078f 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