Since I don't know yet what is the best way to fix the "Unknown shell

command" warnings, they are not enabled by default.
This commit is contained in:
rillig 2006-06-15 22:22:13 +00:00
parent fe2042bd0d
commit b99fb1367b

View file

@ -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.");