diff options
author | wiz <wiz@pkgsrc.org> | 2001-11-03 21:14:18 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2001-11-03 21:14:18 +0000 |
commit | f880fbfd6d9332d0c7dfb4c972a0da9f12ff0de0 (patch) | |
tree | 4790a285612df9744c3020d798a3904ece091b57 /pkgtools | |
parent | ce1ba8bf17ccb0fd084d590a62958531ede50bba (diff) | |
download | pkgsrc-f880fbfd6d9332d0c7dfb4c972a0da9f12ff0de0.tar.gz |
Don't check Makefile and distinfo twice, and use checkplist again for PLIST.
Diffstat (limited to 'pkgtools')
-rw-r--r-- | pkgtools/pkglint/files/pkglint.pl | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/pkgtools/pkglint/files/pkglint.pl b/pkgtools/pkglint/files/pkglint.pl index 08739d342b8..791204aa615 100644 --- a/pkgtools/pkglint/files/pkglint.pl +++ b/pkgtools/pkglint/files/pkglint.pl @@ -12,7 +12,7 @@ # Freely redistributable. Absolutely no warranty. # # From Id: portlint.pl,v 1.64 1998/02/28 02:34:05 itojun Exp -# $NetBSD: pkglint.pl,v 1.58 2001/10/31 18:39:27 zuntum Exp $ +# $NetBSD: pkglint.pl,v 1.59 2001/11/03 21:14:18 wiz Exp $ # # This version contains lots of changes necessary for NetBSD packages # done by Hubert Feyrer <hubertf@netbsd.org>, @@ -133,10 +133,11 @@ if (! -f "$portdir/Makefile") { if ($extrafile) { foreach $i ((<$portdir/$scriptdir/*>, <$portdir/$pkgdir/*>)) { next if (! -T $i); + next if ($i =~ /distinfo$/); + next if ($i =~ /Makefile$/); $i =~ s/^\Q$portdir\E\///; next if (defined $checker{$i}); - if ($i =~ /pkg\/PLIST$/ || - ($i =~ /pkg\/PLIST/)) { + if ($i =~ /PLIST/) { unshift(@checker, $i); $checker{$i} = 'checkplist'; } else { |