diff options
author | FUJISHIMA Satsuki <sf@FreeBSD.org> | 2001-02-17 12:20:32 +0000 |
---|---|---|
committer | FUJISHIMA Satsuki <sf@FreeBSD.org> | 2001-02-17 12:20:32 +0000 |
commit | afa075e6d87d84f65bb5c77105903dc2d34bf293 (patch) | |
tree | 1054002132dcdfc5093c6294dffcd65fdcdb6287 /ports-mgmt/portlint/src | |
parent | use better -lxpg4 detection code. (diff) |
o stop checking blank lines for files/patch-*
o fix getopt arguments: -B takes argument and -N don't.
Submitted by: Peter Pentchev <roam@orbitel.bg>
Non-responce from: maintainer
Notes
Notes:
svn path=/head/; revision=38423
Diffstat (limited to 'ports-mgmt/portlint/src')
-rw-r--r-- | ports-mgmt/portlint/src/portlint.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ports-mgmt/portlint/src/portlint.pl b/ports-mgmt/portlint/src/portlint.pl index 72d6da62100b..a72f344f83be 100644 --- a/ports-mgmt/portlint/src/portlint.pl +++ b/ports-mgmt/portlint/src/portlint.pl @@ -98,7 +98,7 @@ sub version { } -getopts('abchtvBM:N:V'); +getopts('abchtvB:M:NV'); &usage if $opt_h; &version if $opt_V; @@ -275,7 +275,7 @@ foreach my $i (@checker) { } else { my $proc = $checker{$i}; &$proc($i) || &perror("Cannot open the file $i\n"); - if ($i !~ /^files\/patch-/) { + if ($i !~ m@/files/patch-@) { &checklastline($i) || &perror("Cannot open the file $i\n"); } |