summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);
}