From owner-svn-src-all@FreeBSD.ORG Thu Feb 17 08:54:22 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EF81C1065672; Thu, 17 Feb 2011 08:54:22 +0000 (UTC) (envelope-from phk@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id DE4E28FC14; Thu, 17 Feb 2011 08:54:22 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1H8sMdY001622; Thu, 17 Feb 2011 08:54:22 GMT (envelope-from phk@svn.freebsd.org) Received: (from phk@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1H8sMR6001620; Thu, 17 Feb 2011 08:54:22 GMT (envelope-from phk@svn.freebsd.org) Message-Id: <201102170854.p1H8sMR6001620@svn.freebsd.org> From: Poul-Henning Kamp Date: Thu, 17 Feb 2011 08:54:22 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218766 - head/tools/tools/sysbuild X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Feb 2011 08:54:23 -0000 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