summaryrefslogtreecommitdiff
path: root/pkgtools/pkglint/files/pkglint.pl
diff options
context:
space:
mode:
authorrillig <rillig>2006-07-18 20:37:31 +0000
committerrillig <rillig>2006-07-18 20:37:31 +0000
commit8502396097ae137fbe8f3abe425495333d5cec8b (patch)
tree2dd9a6325d47daee157fc8c777d77922e57f98f2 /pkgtools/pkglint/files/pkglint.pl
parent79aa68c6214e9cbca85682b15fc343ed95a9af69 (diff)
downloadpkgsrc-8502396097ae137fbe8f3abe425495333d5cec8b.tar.gz
Oops. Debugging messages should only appear when -D<anything> is set on
the command line.
Diffstat (limited to 'pkgtools/pkglint/files/pkglint.pl')
-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";
}