svn commit: r218766 - head/tools/tools/sysbuild

Poul-Henning Kamp phk at FreeBSD.org
Thu Feb 17 08:54:23 UTC 2011


Author: phk
Date: Thu Feb 17 08:54:22 2011
New Revision: 218766
URL: http://svn.freebsd.org/changeset/base/218766

Log:
  Improve the check for ports which have gone missing, and just ignore
  them.  We want a run to perform as much work as possible before it
  gives up.

Modified:
  head/tools/tools/sysbuild/sysbuild.sh

Modified: head/tools/tools/sysbuild/sysbuild.sh
==============================================================================
--- head/tools/tools/sysbuild/sysbuild.sh	Thu Feb 17 07:39:53 2011	(r218765)
+++ head/tools/tools/sysbuild/sysbuild.sh	Thu Feb 17 08:54:22 2011	(r218766)
@@ -178,7 +178,11 @@ ports_recurse() (
 	do
 		if [ ! -d $d ] ; then
 			echo "Missing port $d" 1>&2
-			exit 2
+			continue
+		fi
+		if [ ! -f $d/Makefile ] ; then
+			echo "Missing port $d" 1>&2
+			continue
 		fi
 		if [ "x$t" != "x." ] ; then
 			echo "\"$t\" -> \"$d\"" >> /tmp/_.plist.dot


More information about the svn-src-head mailing list