pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/pkgtools/lintpkgsrc/files lintpkgsrc: fix warning abou...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0576c50b3e59
branches:  trunk
changeset: 383394:0576c50b3e59
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Thu Aug 18 18:30:29 2022 +0000

description:
lintpkgsrc: fix warning about bogus PKGREVISION for Git packages

(Since a few days.)

diffstat:

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

diffs (19 lines):

diff -r ada98fb39a80 -r 0576c50b3e59 pkgtools/lintpkgsrc/files/lintpkgsrc.pl
--- a/pkgtools/lintpkgsrc/files/lintpkgsrc.pl   Thu Aug 18 18:28:39 2022 +0000
+++ b/pkgtools/lintpkgsrc/files/lintpkgsrc.pl   Thu Aug 18 18:30:29 2022 +0000
@@ -1,5 +1,5 @@
 #!@PERL5@
-# $NetBSD: lintpkgsrc.pl,v 1.123 2022/08/18 18:28:08 rillig Exp $
+# $NetBSD: lintpkgsrc.pl,v 1.124 2022/08/18 18:30:29 rillig Exp $
 
 # Written by David Brownlee <abs%netbsd.org@localhost>.
 #
@@ -997,7 +997,7 @@
        if (defined $pkgrevision && $pkgrevision !~ /^\s*$/) {
                if ($pkgrevision =~ /^\$\{ (?:
                    _CVS_PKGVERSION |
-                   _GIT_PKGVERSION_CMD |
+                   _GIT_PKGVERSION |
                    _HG_PKGVERSION_CMD |
                    _SVN_PKGREVISION_CMD) :.* \}$ /x) {
                        # See wip/mk/*-package.mk.



Home | Main Index | Thread Index | Old Index