pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/pkgtools/pkglint/files Directories that are practicall...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/14ad8f0fc201
branches:  trunk
changeset: 538181:14ad8f0fc201
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Thu Jan 31 13:20:56 2008 +0000

description:
Directories that are practically empty are skipped.

diffstat:

 pkgtools/pkglint/files/pkglint.pl |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r d8a1416cc113 -r 14ad8f0fc201 pkgtools/pkglint/files/pkglint.pl
--- a/pkgtools/pkglint/files/pkglint.pl Thu Jan 31 13:08:12 2008 +0000
+++ b/pkgtools/pkglint/files/pkglint.pl Thu Jan 31 13:20:56 2008 +0000
@@ -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 @@
 
        check_pkglint_version();        # (needs $cwd_pkgsrcdir)
 
+       return if $is_dir && is_emptydir($item);
+
        if ($is_dir) {
                checkdir_CVS($item);
        }



Home | Main Index | Thread Index | Old Index