projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f27add2
)
Teach checkcfgvar.pl that : is also a comment character in shell scripts
author
Nicholas Clark
<nick@ccl4.org>
Wed, 23 Jan 2008 08:55:33 +0000
(08:55 +0000)
committer
Nicholas Clark
<nick@ccl4.org>
Wed, 23 Jan 2008 08:55:33 +0000
(08:55 +0000)
p4raw-id: //depot/perl@33048
Porting/checkcfgvar.pl
patch
|
blob
|
history
diff --git
a/Porting/checkcfgvar.pl
b/Porting/checkcfgvar.pl
index
3531b3c
..
dd4cbb5
100644
(file)
--- a/
Porting/checkcfgvar.pl
+++ b/
Porting/checkcfgvar.pl
@@
-87,7
+87,7
@@
for my $cfg (@CFG) {
my %cfg;
read_file($cfg,
sub {
- return if /^\#/ || /^\s*$/;
+ return if /^\#/ || /^\s*$/
|| /^\:/
;
if ($cfg eq 'configure.com') {
s/(\s*!.*|\s*)$//; # remove trailing comments or whitespace
return if ! /^\$\s+WC "(\w+)='(.*)'"$/;