diff options
author | rillig <rillig@pkgsrc.org> | 2005-12-09 08:40:40 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2005-12-09 08:40:40 +0000 |
commit | 863d7d917241af9d692e183d2cb418bc1aeeb30c (patch) | |
tree | 70ab95a94be5c60ba04b4ae4c962a080877b8e1c /pkgtools/pkglint | |
parent | 21a9d1b5d4b13feffe960fc109c061acc68244ac (diff) | |
download | pkgsrc-863d7d917241af9d692e183d2cb418bc1aeeb30c.tar.gz |
Improved diagnostic of the warning for @comment in variables.
Diffstat (limited to 'pkgtools/pkglint')
-rw-r--r-- | pkgtools/pkglint/files/pkglint.pl | 4 |
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", |