diff options
author | jmc <jmc> | 2001-11-01 23:24:44 +0000 |
---|---|---|
committer | jmc <jmc> | 2001-11-01 23:24:44 +0000 |
commit | 3b2505aa80b171c4eb82b13fbb9ca600fd3a117c (patch) | |
tree | 35159c209c9ac975f885d18df9126bcc3e0b9852 /pkgtools/pkglint/files | |
parent | d041c84818f977b6d421cfea25b0fda1004bc27c (diff) | |
download | pkgsrc-3b2505aa80b171c4eb82b13fbb9ca600fd3a117c.tar.gz |
Change to the same pattern for excluding patches as make patchsum uses when
building the distinfo file
Diffstat (limited to 'pkgtools/pkglint/files')
-rwxr-xr-x | pkgtools/pkglint/files/lintpkgsrc.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgtools/pkglint/files/lintpkgsrc.pl b/pkgtools/pkglint/files/lintpkgsrc.pl index 41a4f78fc8f..5c7e66aaa09 100755 --- a/pkgtools/pkglint/files/lintpkgsrc.pl +++ b/pkgtools/pkglint/files/lintpkgsrc.pl @@ -1,6 +1,6 @@ #!@PREFIX@/bin/perl -# $NetBSD: lintpkgsrc.pl,v 1.55 2001/07/07 18:21:29 dmcmahill Exp $ +# $NetBSD: lintpkgsrc.pl,v 1.56 2001/11/01 23:24:44 jmc Exp $ # Written by David Brownlee <abs@netbsd.org>. # @@ -1033,7 +1033,7 @@ sub scan_pkgsrc_distfiles_vs_distinfo { if (m/^(\w+) ?\(([^\)]+)\) = (\S+)/) { - if (substr($2, 0, 6) eq 'patch-') + if ($2 =~ /^patch-[a-z0-9]+$/) { next; } if (!defined $distfiles{$2}) { |