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 | 80b3d9a59684818ac9ff0cdc6983ef7661504ef2 (patch) | |
tree | 70ab95a94be5c60ba04b4ae4c962a080877b8e1c /pkgtools | |
parent | 2ea37e8631ed41cca7f5ba6026f49370ac1a7f59 (diff) | |
download | pkgsrc-80b3d9a59684818ac9ff0cdc6983ef7661504ef2.tar.gz |
Improved diagnostic of the warning for @comment in variables.
Diffstat (limited to 'pkgtools')
-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", |