diff options
author | sf <sf@FreeBSD.org> | 2001-02-17 20:20:32 +0800 |
---|---|---|
committer | sf <sf@FreeBSD.org> | 2001-02-17 20:20:32 +0800 |
commit | edb2f33b40f59896e56d55e4650a3b67e234bbbd (patch) | |
tree | 9fbe607b27a468fcac0110126206ecbfaaa54ab0 /ports-mgmt | |
parent | 005cd18a5de70486a502c1f8449b0fdcc7eaa653 (diff) | |
download | freebsd-ports-gnome-edb2f33b40f59896e56d55e4650a3b67e234bbbd.tar.gz freebsd-ports-gnome-edb2f33b40f59896e56d55e4650a3b67e234bbbd.tar.zst freebsd-ports-gnome-edb2f33b40f59896e56d55e4650a3b67e234bbbd.zip |
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
Diffstat (limited to 'ports-mgmt')
-rw-r--r-- | ports-mgmt/portlint/Makefile | 2 | ||||
-rw-r--r-- | ports-mgmt/portlint/src/portlint.pl | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/ports-mgmt/portlint/Makefile b/ports-mgmt/portlint/Makefile index 909a2aa30f28..fc78e9dc8fb6 100644 --- a/ports-mgmt/portlint/Makefile +++ b/ports-mgmt/portlint/Makefile @@ -8,7 +8,7 @@ # PORTNAME= portlint -PORTVERSION= 2.3 +PORTVERSION= 2.3.1 CATEGORIES= devel MASTER_SITES= # none DISTFILES= # none 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"); } |