diff options
author | rillig <rillig> | 2007-12-13 15:56:49 +0000 |
---|---|---|
committer | rillig <rillig> | 2007-12-13 15:56:49 +0000 |
commit | e06a52e7d9076ead48c332fa60e81e0072c572e5 (patch) | |
tree | cad5bd262223484693ec311abfb9f42fe6b675ed /pkgtools | |
parent | 92b98eda3953ce251c43b89d13f6502afabecaf2 (diff) | |
download | pkgsrc-e06a52e7d9076ead48c332fa60e81e0072c572e5.tar.gz |
Made the CVS Id check stricter, to catch many mistakes in pkgsrc-wip.
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 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; } |