[lintian] 01/03: Correct logic so we accept the current year.
This is an automated email from the git hooks/post-receive script.
lamby pushed a commit to branch master
in repository lintian.
commit 74fd4607edabf24dece6dc87a0e23b5cc222b422
Author: Chris Lamb <lamby@debian.org>
Date: Fri Jul 28 08:09:03 2017 +0100
Correct logic so we accept the current year.
---
checks/copyright-file.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/checks/copyright-file.pm b/checks/copyright-file.pm
index 2d039ce..f42da1e 100644
--- a/checks/copyright-file.pm
+++ b/checks/copyright-file.pm
@@ -354,7 +354,7 @@ qr/GNU (?:Lesser|Library) General Public License|(?-i:\bLGPL\b)/i
) {
my $year = $1;
my $column = $-[0] + 1;
- next if $year < $latest_year;
+ next if $year <= $latest_year;
# "Sun Microsystems, 4150 Network Drive, CA"
next if $year == 4150;
tag 'copyright-year-in-future',
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git
Reply to: