diff options
author | rillig <rillig@pkgsrc.org> | 2008-11-06 14:46:51 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2008-11-06 14:46:51 +0000 |
commit | 411a485a0dbf96f126e81f28496d46831e6513fb (patch) | |
tree | f594df1dd72d4ef85b1b9f455575da653561cd85 /pkgtools | |
parent | 41dfbe0f384f0049d56bd8397d0da407d8017f73 (diff) | |
download | pkgsrc-411a485a0dbf96f126e81f28496d46831e6513fb.tar.gz |
Only check doc/CHANGES-* starting with 2008, as suggested by OBATA Akio
on pkgsrc-changes.
TODO: Discuss whether the old files should be converted to the common
format or just be left as they are.
Diffstat (limited to 'pkgtools')
-rw-r--r-- | pkgtools/pkglint/files/pkglint.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgtools/pkglint/files/pkglint.pl b/pkgtools/pkglint/files/pkglint.pl index 7c0145ea21d..3b42b607b1a 100644 --- a/pkgtools/pkglint/files/pkglint.pl +++ b/pkgtools/pkglint/files/pkglint.pl @@ -1,5 +1,5 @@ #! @PERL@ -# $NetBSD: pkglint.pl,v 1.782 2008/11/04 23:13:05 rillig Exp $ +# $NetBSD: pkglint.pl,v 1.783 2008/11/06 14:46:51 rillig Exp $ # # pkglint - static analyzer and checker for pkgsrc packages @@ -2234,7 +2234,7 @@ sub get_doc_CHANGES($) { my @files = readdir(DIR); closedir(DIR) or die; foreach my $file (reverse sort @files) { - if ($file =~ m"^CHANGES-\d+$") { + if ($file =~ m"^CHANGES-(\d+)$" && (0 + $1 >= 2008)) { push(@$get_doc_CHANGES_docs, [ $file, undef ]); } } |