1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

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
This commit is contained in:
FUJISHIMA Satsuki 2001-02-17 12:20:32 +00:00
parent ea6fe5d739
commit afa075e6d8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=38423
4 changed files with 6 additions and 6 deletions

View File

@ -8,7 +8,7 @@
#
PORTNAME= portlint
PORTVERSION= 2.3
PORTVERSION= 2.3.1
CATEGORIES= devel
MASTER_SITES= # none
DISTFILES= # none

View File

@ -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");
}

View File

@ -8,7 +8,7 @@
#
PORTNAME= portlint
PORTVERSION= 2.3
PORTVERSION= 2.3.1
CATEGORIES= devel
MASTER_SITES= # none
DISTFILES= # none

View File

@ -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");
}