diff options
author | rillig <rillig@pkgsrc.org> | 2007-12-13 15:56:49 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2007-12-13 15:56:49 +0000 |
commit | eeb35d9073bfcdf389d126c3fcfa91e962f4e352 (patch) | |
tree | cad5bd262223484693ec311abfb9f42fe6b675ed | |
parent | 1441bcf1aba6a3b69cd4666fc8718c988716e272 (diff) | |
download | pkgsrc-eeb35d9073bfcdf389d126c3fcfa91e962f4e352.tar.gz |
Made the CVS Id check stricter, to catch many mistakes in pkgsrc-wip.
-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 56f4ad61f40..aef230772af 100644 --- a/pkgtools/pkglint/files/pkglint.pl +++ b/pkgtools/pkglint/files/pkglint.pl @@ -1,5 +1,5 @@ #! @PERL@ -# $NetBSD: pkglint.pl,v 1.737 2007/11/30 14:19:20 rillig Exp $ +# $NetBSD: pkglint.pl,v 1.738 2007/12/13 15:56:49 rillig Exp $ # # pkglint - static analyzer and checker for pkgsrc packages @@ -3714,7 +3714,7 @@ sub checkline_rcsid_regex($$$) { $opt_debug_trace and $line->log_debug("checkline_rcsid_regex(${prefix_regex}, ${prefix})"); - if ($line->text !~ qr"^${prefix_regex}\$(${id})(?::[^\$]*|)\$$") { + if ($line->text !~ qr"^${prefix_regex}\$(${id})(?::[^\$]+|)\$$") { $line->log_error("\"${prefix}\$${opt_rcsidstring}\$\" expected."); return false; } |