diff options
author | rillig <rillig@pkgsrc.org> | 2006-04-23 09:48:53 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2006-04-23 09:48:53 +0000 |
commit | f6f297609052170bce7b5383b163b09e861f48e0 (patch) | |
tree | 36cc7ca1783f7bd5eebba77ccfdbed430001d760 /pkgtools | |
parent | 3c80b2e1e53d87b1acba3c85b07e176d14d236ca (diff) | |
download | pkgsrc-f6f297609052170bce7b5383b163b09e861f48e0.tar.gz |
Removed the word "possible" from the diagnostics, as the number of false
positives is near epsilon.
Diffstat (limited to 'pkgtools')
-rw-r--r-- | pkgtools/pkglint/files/pkglint.pl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgtools/pkglint/files/pkglint.pl b/pkgtools/pkglint/files/pkglint.pl index e84af639eae..5b4926f6ce4 100644 --- a/pkgtools/pkglint/files/pkglint.pl +++ b/pkgtools/pkglint/files/pkglint.pl @@ -1,5 +1,5 @@ #! @PERL@ -# $NetBSD: pkglint.pl,v 1.563 2006/04/23 08:59:55 rillig Exp $ +# $NetBSD: pkglint.pl,v 1.564 2006/04/23 09:48:53 rillig Exp $ # # pkglint - static analyzer and checker for pkgsrc packages @@ -2776,7 +2776,7 @@ sub checkline_mk_shelltext($$) { my $toolname = get_varname_to_toolname->{$toolvarname}; $addition = " and add USE_TOOLS+=${toolname} before this line"; } - $line->log_warning("Possible direct use of tool \"${shellword}\". Please use \$\{$vartools->{$shellword}\} instead${addition}."); + $line->log_warning("Direct use of tool \"${shellword}\". Please use \$\{$vartools->{$shellword}\} instead${addition}."); } if ($state == SCST_START && exists(forbidden_commands->{$shellword})) { @@ -4371,10 +4371,10 @@ sub checkfile_patch($) { my ($tag) = ($2); if ($text =~ re_patch_uh) { - $line->log_warning("Possible RCS tag \"\$${tag}\$\". Please remove it."); + $line->log_warning("Found RCS tag \"\$${tag}\$\". Please remove it."); $line->set_text($1); } else { - $line->log_warning("Possible RCS tag \"\$${tag}\$\". Please remove it by reducing the number of context lines using pkgdiff or \"diff -U[210]\"."); + $line->log_warning("Found RCS tag \"\$${tag}\$\". Please remove it by reducing the number of context lines using pkgdiff or \"diff -U[210]\"."); } } }; |