From 20898fe52daea5f0ff101277803bba91364a2423 Mon Sep 17 00:00:00 2001 From: rillig Date: Tue, 18 Apr 2006 00:35:18 +0000 Subject: Files called "manual-*" in the patches directory are not checked at all. --- pkgtools/pkglint/files/pkglint.pl | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'pkgtools') diff --git a/pkgtools/pkglint/files/pkglint.pl b/pkgtools/pkglint/files/pkglint.pl index 1a89a0d626f..151db26b4ba 100644 --- a/pkgtools/pkglint/files/pkglint.pl +++ b/pkgtools/pkglint/files/pkglint.pl @@ -1,5 +1,5 @@ #! @PERL@ -# $NetBSD: pkglint.pl,v 1.559 2006/04/18 00:01:48 rillig Exp $ +# $NetBSD: pkglint.pl,v 1.560 2006/04/18 00:35:18 rillig Exp $ # # pkglint - static analyzer and checker for pkgsrc packages @@ -4790,9 +4790,12 @@ sub checkfile($) { } elsif ($basename =~ qr"^MESSAGE") { $opt_check_MESSAGE and checkfile_MESSAGE($fname); - } elsif ($basename =~ qr"^patch-[A-Za-z0-9]*$" || $fname =~ qr"(?:^|/)patches/manual-[^/]*$") { + } elsif ($basename =~ qr"^patch-[A-Za-z0-9]*$") { $opt_check_patches and checkfile_patch($fname); + } elsif ($fname =~ qr"(?:^|/)patches/manual-[^/]*$") { + $opt_debug and log_info($fname, NO_LINE_NUMBER, "Not checked."); + } elsif ($fname =~ qr"(?:^|/)patches/[^/]*$") { log_warning($fname, NO_LINE_NUMBER, "Patch files should be named \"patch-\", followed by letters and digits only."); -- cgit v1.2.3