pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/pkgtools/pkglint/files - Reworded two occurrences of "...
details: https://anonhg.NetBSD.org/pkgsrc/rev/2b35088366a8
branches: trunk
changeset: 507662:2b35088366a8
user: rillig <rillig%pkgsrc.org@localhost>
date: Mon Feb 06 10:07:23 2006 +0000
description:
- Reworded two occurrences of "unportable". They sounded too harsh.
diffstat:
pkgtools/pkglint/files/pkglint.pl | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (28 lines):
diff -r c31a5b1d59bc -r 2b35088366a8 pkgtools/pkglint/files/pkglint.pl
--- a/pkgtools/pkglint/files/pkglint.pl Mon Feb 06 10:04:49 2006 +0000
+++ b/pkgtools/pkglint/files/pkglint.pl Mon Feb 06 10:07:23 2006 +0000
@@ -1,5 +1,5 @@
#! @PERL@
-# $NetBSD: pkglint.pl,v 1.500 2006/02/06 09:46:42 rillig Exp $
+# $NetBSD: pkglint.pl,v 1.501 2006/02/06 10:07:23 rillig Exp $
#
# pkglint - static analyzer and checker for pkgsrc packages
@@ -2192,7 +2192,7 @@
if (exists(good_macros->{$macro})) {
$line->log_debug("Found good macro \"${macro}\".");
} elsif (exists(bad_macros->{$macro})) {
- $line->log_warning("The macro \"${macro}\" is unportable. Please use \"".bad_macros->{$macro}."\" instead.");
+ $line->log_warning("The macro \"${macro}\" is not portable enough. Please use \"".bad_macros->{$macro}."\" instead.");
$line->explain("See the pkgsrc guide, section \"CPP defines\" for details.");
} else {
$line->log_info("Found unknown macro \"${macro}\".");
@@ -2333,7 +2333,7 @@
$line->log_warning("Unquoted shell variable \"${shvarname}\".");
}
} elsif ($rest =~ s/\$\$\(/(/) {
- $line->log_warning("Unportable subshell call via \$(...\).");
+ $line->log_warning("Invoking subshells via \$(...) is not portable enough.");
$line->explain(
"The Solaris /bin/sh does not know this way to execute a command in a",
"subshell. Please use backticks (\`...\`) as a replacement.");
Home |
Main Index |
Thread Index |
Old Index