Source-Changes-HG archive

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

[src/trunk]: src/distrib/sets make metalog files trully optional (don't print...



details:   https://anonhg.NetBSD.org/src/rev/216b25c82d7c
branches:  trunk
changeset: 784018:216b25c82d7c
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Jan 15 02:46:41 2013 +0000

description:
make metalog files trully optional (don't print errors when they don't exist)

diffstat:

 distrib/sets/checkflist |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r 2001a83e6e1c -r 216b25c82d7c distrib/sets/checkflist
--- a/distrib/sets/checkflist   Tue Jan 15 02:04:04 2013 +0000
+++ b/distrib/sets/checkflist   Tue Jan 15 02:46:41 2013 +0000
@@ -1,6 +1,6 @@
 #! /bin/sh --
 #
-#      $NetBSD: checkflist,v 1.42 2009/12/11 11:48:41 uebayasi Exp $
+#      $NetBSD: checkflist,v 1.43 2013/01/15 02:46:41 christos Exp $
 #
 # Verify output of makeflist against contents of ${DESTDIR} and ${metalog}.
 
@@ -143,6 +143,8 @@
 if [ -n "${metalog}" ]; then
        ${AWK} '{print $1}' <"${metalog}" \
        | ${SORT} -u | ignore_exceptions >"${SETS_MLIST}"
+else
+       SETS_MLIST=/dev/null
 fi
 }
 



Home | Main Index | Thread Index | Old Index