summaryrefslogtreecommitdiff
path: root/pkgtools/pkglint
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2005-12-09 08:40:40 +0000
committerrillig <rillig@pkgsrc.org>2005-12-09 08:40:40 +0000
commit863d7d917241af9d692e183d2cb418bc1aeeb30c (patch)
tree70ab95a94be5c60ba04b4ae4c962a080877b8e1c /pkgtools/pkglint
parent21a9d1b5d4b13feffe960fc109c061acc68244ac (diff)
downloadpkgsrc-863d7d917241af9d692e183d2cb418bc1aeeb30c.tar.gz
Improved diagnostic of the warning for @comment in variables.
Diffstat (limited to 'pkgtools/pkglint')
-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 ee48e22c1be..0aa0beb218c 100644
--- a/pkgtools/pkglint/files/pkglint.pl
+++ b/pkgtools/pkglint/files/pkglint.pl
@@ -11,7 +11,7 @@
# Freely redistributable. Absolutely no warranty.
#
# From Id: portlint.pl,v 1.64 1998/02/28 02:34:05 itojun Exp
-# $NetBSD: pkglint.pl,v 1.434 2005/12/08 21:13:49 rillig Exp $
+# $NetBSD: pkglint.pl,v 1.435 2005/12/09 08:40:40 rillig Exp $
#
# This version contains lots of changes necessary for NetBSD packages
# done by:
@@ -2184,7 +2184,7 @@ sub checkline_mk_varassign($$$$$) {
}
if ($value =~ qr"^[^=]\@comment") {
- $line->log_warning("Please don't use \@comment in variables.");
+ $line->log_warning("Please don't use \@comment in ${varname}.");
$line->explain(
"Here you are defining a variable containing \@comment. As this value",
"typically includes a space as the last character you probably also used",