summaryrefslogtreecommitdiff
path: root/pkgtools/pkglint/files
diff options
context:
space:
mode:
authorrillig <rillig>2008-01-31 13:20:56 +0000
committerrillig <rillig>2008-01-31 13:20:56 +0000
commitaf750d73d8e6f39ffd973918bf28b624753aee30 (patch)
tree2099dfd1115eed804ec55494c3f8ecfb90e5c847 /pkgtools/pkglint/files
parent2e1abc51272b1a74caa5effc8c30ef84144a0b72 (diff)
downloadpkgsrc-af750d73d8e6f39ffd973918bf28b624753aee30.tar.gz
Directories that are practically empty are skipped.
Diffstat (limited to 'pkgtools/pkglint/files')
-rw-r--r--pkgtools/pkglint/files/pkglint.pl4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgtools/pkglint/files/pkglint.pl b/pkgtools/pkglint/files/pkglint.pl
index a928e505092..61d37250e6d 100644
--- a/pkgtools/pkglint/files/pkglint.pl
+++ b/pkgtools/pkglint/files/pkglint.pl
@@ -1,5 +1,5 @@
#! @PERL@
-# $NetBSD: pkglint.pl,v 1.760 2008/01/28 09:25:52 rillig Exp $
+# $NetBSD: pkglint.pl,v 1.761 2008/01/31 13:20:56 rillig Exp $
#
# pkglint - static analyzer and checker for pkgsrc packages
@@ -8313,6 +8313,8 @@ sub checkitem($) {
check_pkglint_version(); # (needs $cwd_pkgsrcdir)
+ return if $is_dir && is_emptydir($item);
+
if ($is_dir) {
checkdir_CVS($item);
}