diff options
author | rillig <rillig> | 2006-04-18 00:35:18 +0000 |
---|---|---|
committer | rillig <rillig> | 2006-04-18 00:35:18 +0000 |
commit | da5bc617d0dca8ca9711b891b55cc2ccaf2b0e75 (patch) | |
tree | c4216efb5085f56808ffd2e8509ebda70bfdcdcc /pkgtools | |
parent | 7e40c4d4eea15db3f37dc5fca21abccb62bef7b9 (diff) | |
download | pkgsrc-da5bc617d0dca8ca9711b891b55cc2ccaf2b0e75.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."); |