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:
parent
ea6fe5d739
commit
afa075e6d8
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=38423
@ -8,7 +8,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= portlint
|
||||
PORTVERSION= 2.3
|
||||
PORTVERSION= 2.3.1
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= # none
|
||||
DISTFILES= # none
|
||||
|
@ -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");
|
||||
}
|
||||
|
@ -8,7 +8,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= portlint
|
||||
PORTVERSION= 2.3
|
||||
PORTVERSION= 2.3.1
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= # none
|
||||
DISTFILES= # none
|
||||
|
@ -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");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user