From cb5ba24ceb8c001812cd74fe2e7de5e203aec366 Mon Sep 17 00:00:00 2001 From: jmc Date: Thu, 1 Nov 2001 23:24:44 +0000 Subject: Change to the same pattern for excluding patches as make patchsum uses when building the distinfo file --- pkgtools/pkglint/files/lintpkgsrc.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pkgtools') 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 . # @@ -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}) { -- cgit v1.2.3