diff options
author | rillig <rillig@pkgsrc.org> | 2006-02-06 10:07:23 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2006-02-06 10:07:23 +0000 |
commit | 5fab31e375066401f7b42b5dba55ef5339b448bf (patch) | |
tree | 793929585658448933ae08a242c4c0eb22059ca9 /pkgtools | |
parent | fb9a8c962fbf73ac2c399462f5cd72678e4caa4d (diff) | |
download | pkgsrc-5fab31e375066401f7b42b5dba55ef5339b448bf.tar.gz |
- Reworded two occurrences of "unportable". They sounded too harsh.
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 7ad6275c569..4b8b9cfa444 100644 --- a/pkgtools/pkglint/files/pkglint.pl +++ b/pkgtools/pkglint/files/pkglint.pl @@ -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 @@ sub checkline_cpp_macro_names($$) { 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 @@ sub checkline_mk_shellword($$$) { $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."); |