pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/pkgtools/pkglint/files Don't print warnings for unknow...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1440b94846e8
branches:  trunk
changeset: 503432:1440b94846e8
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sun Nov 20 13:59:37 2005 +0000

description:
Don't print warnings for unknown "empty" directories like pkg/ and scripts/
that occur during "cvs update"s.

diffstat:

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

diffs (21 lines):

diff -r 72ed41e828f0 -r 1440b94846e8 pkgtools/pkglint/files/pkglint.pl
--- a/pkgtools/pkglint/files/pkglint.pl Sun Nov 20 13:44:46 2005 +0000
+++ b/pkgtools/pkglint/files/pkglint.pl Sun Nov 20 13:59:37 2005 +0000
@@ -11,7 +11,7 @@
 # Freely redistributable.  Absolutely no warranty.
 #
 # From Id: portlint.pl,v 1.64 1998/02/28 02:34:05 itojun Exp
-# $NetBSD: pkglint.pl,v 1.370 2005/11/20 13:14:17 rillig Exp $
+# $NetBSD: pkglint.pl,v 1.371 2005/11/20 13:59:37 rillig Exp $
 #
 # This version contains lots of changes necessary for NetBSD packages
 # done by:
@@ -2527,7 +2527,7 @@
                if ($basename eq "files" || $basename eq "patches" || $basename eq "CVS") {
                        # Ok
 
-               } else {
+               } elsif (!is_emptydir($fname)) {
                        log_warning($fname, NO_LINE_NUMBER, "Unknown directory name.");
                }
 



Home | Main Index | Thread Index | Old Index