pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/pkgtools/pkglint/files Since I don't know yet what is ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/f3047a34c78f
branches: trunk
changeset: 514659:f3047a34c78f
user: rillig <rillig%pkgsrc.org@localhost>
date: Thu Jun 15 22:22:13 2006 +0000
description:
Since I don't know yet what is the best way to fix the "Unknown shell
command" warnings, they are not enabled by default.
diffstat:
pkgtools/pkglint/files/pkglint.pl | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (21 lines):
diff -r 06132fc24d86 -r f3047a34c78f pkgtools/pkglint/files/pkglint.pl
--- a/pkgtools/pkglint/files/pkglint.pl Thu Jun 15 22:21:44 2006 +0000
+++ b/pkgtools/pkglint/files/pkglint.pl Thu Jun 15 22:22:13 2006 +0000
@@ -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 @@
}
} 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.");
Home |
Main Index |
Thread Index |
Old Index