summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig A. Berry <craigberry@mac.com>2006-11-24 04:45:30 +0000
committerCraig A. Berry <craigberry@mac.com>2006-11-24 04:45:30 +0000
commitc526aa6337ee17172ed69ab8b1da40986e578124 (patch)
tree838b47d280b9492e575b8fad08a136305617e76e
parentd91e317932a7bbe966ac88dc9cc51e988f084fd8 (diff)
downloadperl-c526aa6337ee17172ed69ab8b1da40986e578124.tar.gz
Even better configure.com handling for checkcfgvar.pl
p4raw-id: //depot/perl@29370
-rw-r--r--Porting/checkcfgvar.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/Porting/checkcfgvar.pl b/Porting/checkcfgvar.pl
index 955120e16d..fc0f8c693b 100644
--- a/Porting/checkcfgvar.pl
+++ b/Porting/checkcfgvar.pl
@@ -88,7 +88,7 @@ for my $cfg (@CFG) {
sub {
return if /^\#/ || /^\s*$/;
if ($cfg eq 'configure.com') {
- s/\s*!.*$//; # remove trailing comments
+ s/(\s*!.*|\s*)$//; # remove trailing comments or whitespace
return if ! /^\$\s+WC "(\w+)='(.*)'"$/;
}
# foo='bar'