diff options
author | jmc <jmc@pkgsrc.org> | 2001-11-01 23:24:44 +0000 |
---|---|---|
committer | jmc <jmc@pkgsrc.org> | 2001-11-01 23:24:44 +0000 |
commit | 07bcd0169b615bb03061bc81210be0a9abd0b10c (patch) | |
tree | 35159c209c9ac975f885d18df9126bcc3e0b9852 | |
parent | fed23163637c3942187252cf9d28eb0d972f6d1c (diff) | |
download | pkgsrc-07bcd0169b615bb03061bc81210be0a9abd0b10c.tar.gz |
Change to the same pattern for excluding patches as make patchsum uses when
building the distinfo file
-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}) { |