Module Name: src Committed By: christos Date: Tue Jan 15 02:46:41 UTC 2013
Modified Files: src/distrib/sets: checkflist Log Message: make metalog files trully optional (don't print errors when they don't exist) To generate a diff of this commit: cvs rdiff -u -r1.42 -r1.43 src/distrib/sets/checkflist Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/distrib/sets/checkflist diff -u src/distrib/sets/checkflist:1.42 src/distrib/sets/checkflist:1.43 --- src/distrib/sets/checkflist:1.42 Fri Dec 11 06:48:41 2009 +++ src/distrib/sets/checkflist Mon Jan 14 21:46:41 2013 @@ -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 @@ generate_mlist() if [ -n "${metalog}" ]; then ${AWK} '{print $1}' <"${metalog}" \ | ${SORT} -u | ignore_exceptions >"${SETS_MLIST}" +else + SETS_MLIST=/dev/null fi }