Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Feb 2011 08:54:22 +0000 (UTC)
From:      Poul-Henning Kamp <phk@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r218766 - head/tools/tools/sysbuild
Message-ID:  <201102170854.p1H8sMR6001620@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201102170854.p1H8sMR6001620>