pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/pkgtools/pkglint/files Made the CVS Id check stricter,...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/bd114ac8ab67
branches:  trunk
changeset: 536439:bd114ac8ab67
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Thu Dec 13 15:56:49 2007 +0000

description:
Made the CVS Id check stricter, to catch many mistakes in pkgsrc-wip.

diffstat:

 pkgtools/pkglint/files/pkglint.pl |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r b596115e2b36 -r bd114ac8ab67 pkgtools/pkglint/files/pkglint.pl
--- a/pkgtools/pkglint/files/pkglint.pl Thu Dec 13 14:48:09 2007 +0000
+++ b/pkgtools/pkglint/files/pkglint.pl Thu Dec 13 15:56:49 2007 +0000
@@ -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 @@
 
        $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;
        }



Home | Main Index | Thread Index | Old Index