summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2007-12-13 15:56:49 +0000
committerrillig <rillig@pkgsrc.org>2007-12-13 15:56:49 +0000
commitcb61e59737e9d1051d2c42cada4b3167fd4d2a0b (patch)
treecad5bd262223484693ec311abfb9f42fe6b675ed /pkgtools
parent0bf5fc0006a54cb4ceca9a0a0cc3f62be8e850bf (diff)
downloadpkgsrc-cb61e59737e9d1051d2c42cada4b3167fd4d2a0b.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.pl4
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;
}