diff options
author | rillig <rillig> | 2008-01-05 18:41:02 +0000 |
---|---|---|
committer | rillig <rillig> | 2008-01-05 18:41:02 +0000 |
commit | 30e3f17145c36ea3fcf6fdacabf8565c822bda64 (patch) | |
tree | d1d66dd83754171262fdb296ad076ee5d78abf2d /pkgtools | |
parent | 533337acf573551ea2155d1a378c6b90c2ee8d93 (diff) | |
download | pkgsrc-30e3f17145c36ea3fcf6fdacabf8565c822bda64.tar.gz |
Don't give a warning for incomplete RCS tags in patch files, as they
probably will not do any harm.
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 de5fb6a1c6c..53530b543f4 100644 --- a/pkgtools/pkglint/files/pkglint.pl +++ b/pkgtools/pkglint/files/pkglint.pl @@ -1,5 +1,5 @@ #! @PERL@ -# $NetBSD: pkglint.pl,v 1.750 2008/01/05 18:04:06 rillig Exp $ +# $NetBSD: pkglint.pl,v 1.751 2008/01/05 18:41:02 rillig Exp $ # # pkglint - static analyzer and checker for pkgsrc packages @@ -7120,7 +7120,7 @@ sub checkfile_patch($) { my $check_text = sub($) { my ($text) = @_; - if ($text =~ qr"(\$(Author|Date|Header|Id|Locker|Log|Name|RCSfile|Revision|Source|State|$opt_rcsidstring)(?::[^\$]*|\$))") { + if ($text =~ qr"(\$(Author|Date|Header|Id|Locker|Log|Name|RCSfile|Revision|Source|State|$opt_rcsidstring)(?::[^\$]*)?\$)") { my ($tag) = ($2); if ($text =~ re_patch_uh) { |