summaryrefslogtreecommitdiff
path: root/pkgtools/pkglint
diff options
context:
space:
mode:
authorrillig <rillig>2005-12-09 08:40:40 +0000
committerrillig <rillig>2005-12-09 08:40:40 +0000
commit9dbb5e5eb0c7cc06b5e97857a44535bdfc354e0c (patch)
tree70ab95a94be5c60ba04b4ae4c962a080877b8e1c /pkgtools/pkglint
parenta04776821bfa0ff12006851b597616bdb0d4ade8 (diff)
downloadpkgsrc-9dbb5e5eb0c7cc06b5e97857a44535bdfc354e0c.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",