summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authorjmc <jmc>2001-11-01 23:24:44 +0000
committerjmc <jmc>2001-11-01 23:24:44 +0000
commitcb5ba24ceb8c001812cd74fe2e7de5e203aec366 (patch)
tree35159c209c9ac975f885d18df9126bcc3e0b9852 /pkgtools
parentec2424380e4c64a6405a347f3a17bd585c56603a (diff)
downloadpkgsrc-cb5ba24ceb8c001812cd74fe2e7de5e203aec366.tar.gz
Change to the same pattern for excluding patches as make patchsum uses when
building the distinfo file
Diffstat (limited to 'pkgtools')
-rwxr-xr-xpkgtools/pkglint/files/lintpkgsrc.pl4
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})
{