diff options
author | Nicholas Clark <nick@ccl4.org> | 2011-09-16 15:36:07 +0200 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2011-09-21 10:40:57 +0200 |
commit | d9829d09b38187d6d0048e58ce927c0ebf037672 (patch) | |
tree | 6feb1cf32089291126b122bd7ecfa206d19434bc /Porting/checkcfgvar.pl | |
parent | f4ca0be2c78f0bfb6a1cba6fc3b9557e88395b33 (diff) | |
download | perl-d9829d09b38187d6d0048e58ce927c0ebf037672.tar.gz |
Tighten the checking regex in checkcfgvar.pl.
Fix the dubious line in symbian/config.sh which this exposes.
Diffstat (limited to 'Porting/checkcfgvar.pl')
-rwxr-xr-x | Porting/checkcfgvar.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Porting/checkcfgvar.pl b/Porting/checkcfgvar.pl index d288f3cdad..baefd4c9e8 100755 --- a/Porting/checkcfgvar.pl +++ b/Porting/checkcfgvar.pl @@ -97,7 +97,7 @@ for my $cfg (sort @CFG) { next if /^\#/ || /^\s*$/ || /^\:/; # foo='bar' # foo=bar - if (/^(\w+)=('?)(?:.*)\2$/) { + if (/^(\w+)=(?:'.*'|[^'].*)$/) { ++$cfg{$1}; } else { warn "$cfg:$.:$_"; |