summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2006-05-16 22:17:46 +0000
committerrillig <rillig@pkgsrc.org>2006-05-16 22:17:46 +0000
commit1b764d1de71d659cb938838c415be1e71c82da19 (patch)
treef379706e95af7b3f38449952dc7518a898f22688 /pkgtools
parentf049d88279afa004d75727d373212ffddd9191fb (diff)
downloadpkgsrc-1b764d1de71d659cb938838c415be1e71c82da19.tar.gz
Fixed a typo: $op cannot be "+", but sometimes is "+=".
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 f1661778263..afd987db4eb 100644
--- a/pkgtools/pkglint/files/pkglint.pl
+++ b/pkgtools/pkglint/files/pkglint.pl
@@ -1,5 +1,5 @@
#! @PERL@
-# $NetBSD: pkglint.pl,v 1.583 2006/05/15 21:37:04 rillig Exp $
+# $NetBSD: pkglint.pl,v 1.584 2006/05/16 22:17:46 rillig Exp $
#
# pkglint - static analyzer and checker for pkgsrc packages
@@ -3211,7 +3211,7 @@ sub checkline_mk_vartype_basic($$$$$$$) {
if (($op eq ":=" && $value =~ qr"^${re_del}$") ||
($op eq ":=" && $value =~ qr"^${re_del}\s+${re_add}$") ||
- ($op eq "+" && $value =~ qr"^${re_add}$")) {
+ ($op eq "+=" && $value =~ qr"^${re_add}$")) {
# Fine.
} else {