diff options
Diffstat (limited to 'pkgtools')
-rw-r--r-- | pkgtools/pkglint/files/pkglint.pl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgtools/pkglint/files/pkglint.pl b/pkgtools/pkglint/files/pkglint.pl index 108a8988406..237bcd1b9a2 100644 --- a/pkgtools/pkglint/files/pkglint.pl +++ b/pkgtools/pkglint/files/pkglint.pl @@ -1,5 +1,5 @@ #! @PERL@ -# $NetBSD: pkglint.pl,v 1.620 2006/06/14 07:44:30 rillig Exp $ +# $NetBSD: pkglint.pl,v 1.621 2006/06/15 22:22:13 rillig Exp $ # # pkglint - static analyzer and checker for pkgsrc packages @@ -3496,8 +3496,8 @@ sub checkline_mk_shelltext($$) { } } else { - $line->log_warning("Unknown shell command \"${shellword}\"."); - $line->explain_warning( + $opt_warn_extra and $line->log_warning("Unknown shell command \"${shellword}\"."); + $opt_warn_extra and $line->explain_warning( "If you want your package to be portable to all platforms that pkgsrc", "supports, you should only use shell commands that are covered by the", "tools framework."); |