diff options
author | rillig <rillig@pkgsrc.org> | 2006-04-18 00:35:18 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2006-04-18 00:35:18 +0000 |
commit | 20898fe52daea5f0ff101277803bba91364a2423 (patch) | |
tree | c4216efb5085f56808ffd2e8509ebda70bfdcdcc /pkgtools | |
parent | 2f39e321bade3668e468fb000d2f40f1f35be760 (diff) | |
download | pkgsrc-20898fe52daea5f0ff101277803bba91364a2423.tar.gz |
Files called "manual-*" in the patches directory are not checked at all.
Diffstat (limited to 'pkgtools')
-rw-r--r-- | pkgtools/pkglint/files/pkglint.pl | 7 |
1 files changed, 5 insertions, 2 deletions
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."); |