From edb2f33b40f59896e56d55e4650a3b67e234bbbd Mon Sep 17 00:00:00 2001 From: sf Date: Sat, 17 Feb 2001 12:20:32 +0000 Subject: o stop checking blank lines for files/patch-* o fix getopt arguments: -B takes argument and -N don't. Submitted by: Peter Pentchev Non-responce from: maintainer --- ports-mgmt/portlint/Makefile | 2 +- ports-mgmt/portlint/src/portlint.pl | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'ports-mgmt/portlint') diff --git a/ports-mgmt/portlint/Makefile b/ports-mgmt/portlint/Makefile index 909a2aa..fc78e9d 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 72d6da6..a72f344 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"); } -- cgit v1.1