diff options
author | mspo <mspo@pkgsrc.org> | 2013-02-09 18:51:56 +0000 |
---|---|---|
committer | mspo <mspo@pkgsrc.org> | 2013-02-09 18:51:56 +0000 |
commit | 174b475f3a86d7c51223f78c004d45a9c0d1f4d1 (patch) | |
tree | 21fdb60e5efe139942309ef3b0c8a8f53768b756 /pkgtools | |
parent | da4d129ca00d9ae1f290d0de068175799cc47f22 (diff) | |
download | pkgsrc-174b475f3a86d7c51223f78c004d45a9c0d1f4d1.tar.gz |
this should address 47516
Diffstat (limited to 'pkgtools')
-rwxr-xr-x | pkgtools/lintpkgsrc/files/lintpkgsrc.pl | 19 |
1 files changed, 4 insertions, 15 deletions
diff --git a/pkgtools/lintpkgsrc/files/lintpkgsrc.pl b/pkgtools/lintpkgsrc/files/lintpkgsrc.pl index 29928926c10..88625cfe12d 100755 --- a/pkgtools/lintpkgsrc/files/lintpkgsrc.pl +++ b/pkgtools/lintpkgsrc/files/lintpkgsrc.pl @@ -1,6 +1,6 @@ #! @PERL@ -# $NetBSD: lintpkgsrc.pl,v 1.2 2012/09/09 15:47:35 mspo Exp $ +# $NetBSD: lintpkgsrc.pl,v 1.3 2013/02/09 18:51:56 mspo Exp $ # Written by David Brownlee <abs@netbsd.org>. # @@ -1508,20 +1508,6 @@ sub scan_pkgsrc_distfiles_vs_distinfo($$$$) { sum => 'IGNORE' }; -# bad for memory -# foreach my $file ( listdir( "$pkgdistdir", undef ) ) { -# my ($dist); -# -# if ( !defined( $dist = $distfiles{$file} ) ) { -# $bad_distfiles{$file} = 1; -# -# } -# else { -# if ( $dist->{sum} ne 'IGNORE' ) { -# push( @{ $sumfiles{ $dist->{sumtype} } }, $file ); -# } -# } -# } # check each file in $pkgdistdir find ( { wanted => sub { my ($dist); @@ -1529,6 +1515,9 @@ sub scan_pkgsrc_distfiles_vs_distinfo($$$$) { { my $distn = $File::Find::name; $distn =~ s/$pkgdistdir\/?//g; + #pkg/47516 ignore cvs dirs + return if $distn =~ m/^\.cvsignore/; + return if $distn =~ m/^CVS\//; if ( !defined ($dist = $distfiles{$distn} ) ) { $bad_distfiles{$distn} = 1; } |