From aec44c2d531361ede44481625f2cfd543297ed99 Mon Sep 17 00:00:00 2001 From: rillig Date: Thu, 31 Jan 2008 13:20:56 +0000 Subject: Directories that are practically empty are skipped. --- pkgtools/pkglint/files/pkglint.pl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'pkgtools') 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); } -- cgit v1.2.3