summaryrefslogtreecommitdiff
path: root/pkgtools/lintpkgsrc
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2022-08-18 18:30:29 +0000
committerrillig <rillig@pkgsrc.org>2022-08-18 18:30:29 +0000
commite7f2880e03b14db9234d088790e098b9b51fde1e (patch)
tree5791ec5d717fd0ff0e46bebc77c60d92406f0197 /pkgtools/lintpkgsrc
parent1dddb8e71bdee2d28838127a56509797add08c5d (diff)
downloadpkgsrc-e7f2880e03b14db9234d088790e098b9b51fde1e.tar.gz
lintpkgsrc: fix warning about bogus PKGREVISION for Git packages
(Since a few days.)
Diffstat (limited to 'pkgtools/lintpkgsrc')
-rwxr-xr-xpkgtools/lintpkgsrc/files/lintpkgsrc.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgtools/lintpkgsrc/files/lintpkgsrc.pl b/pkgtools/lintpkgsrc/files/lintpkgsrc.pl
index d9d6e6da8ee..586ebd085fa 100755
--- a/pkgtools/lintpkgsrc/files/lintpkgsrc.pl
+++ b/pkgtools/lintpkgsrc/files/lintpkgsrc.pl
@@ -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>.
#
@@ -997,7 +997,7 @@ sub parse_makefile_pkgsrc($file) {
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.