diff options
author | rillig <rillig@pkgsrc.org> | 2006-07-18 20:37:31 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2006-07-18 20:37:31 +0000 |
commit | 04b83eccb3bc50db1806a894d1e19ea395f110f9 (patch) | |
tree | 2dd9a6325d47daee157fc8c777d77922e57f98f2 /pkgtools | |
parent | 1b18d909bbfcf5eca09c765456e61b7c1c3ad9fe (diff) | |
download | pkgsrc-04b83eccb3bc50db1806a894d1e19ea395f110f9.tar.gz |
Oops. Debugging messages should only appear when -D<anything> is set on
the command line.
Diffstat (limited to 'pkgtools')
-rw-r--r-- | pkgtools/pkglint/files/pkglint.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgtools/pkglint/files/pkglint.pl b/pkgtools/pkglint/files/pkglint.pl index 5e2ded1f16c..5de8ec2c907 100644 --- a/pkgtools/pkglint/files/pkglint.pl +++ b/pkgtools/pkglint/files/pkglint.pl @@ -1,5 +1,5 @@ #! @PERL@ -# $NetBSD: pkglint.pl,v 1.655 2006/07/18 18:14:33 rillig Exp $ +# $NetBSD: pkglint.pl,v 1.656 2006/07/18 20:37:31 rillig Exp $ # # pkglint - static analyzer and checker for pkgsrc packages @@ -2699,7 +2699,7 @@ sub get_filetype($$) { return "unknown"; } - $line->log_debug("Don't know the file type of ${fname}."); + $opt_debug_misc and $line->log_debug("Don't know the file type of ${fname}."); return "unknown"; } |