summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2006-07-18 20:37:31 +0000
committerrillig <rillig@pkgsrc.org>2006-07-18 20:37:31 +0000
commitc318823701a5c205c3c0a327b6bf47b89fb464a8 (patch)
tree2dd9a6325d47daee157fc8c777d77922e57f98f2 /pkgtools
parent73dac18f9515ed6ebb34a8d28a59f3cb9e196b5d (diff)
downloadpkgsrc-c318823701a5c205c3c0a327b6bf47b89fb464a8.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.pl4
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";
}