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

Poul-Henning Kamp phk at FreeBSD.org
Thu Dec 25 17:54:23 UTC 2014


Author: phk
Date: Thu Dec 25 17:54:22 2014
New Revision: 276210
URL: https://svnweb.freebsd.org/changeset/base/276210

Log:
  Create the PKG_DIR if it is missing

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

Modified: head/tools/tools/sysbuild/sysbuild.sh
==============================================================================
--- head/tools/tools/sysbuild/sysbuild.sh	Thu Dec 25 17:53:43 2014	(r276209)
+++ head/tools/tools/sysbuild/sysbuild.sh	Thu Dec 25 17:54:22 2014	(r276210)
@@ -219,6 +219,10 @@ ports_build() (
 
 	ports_recurse . $PORTS_WE_WANT 
 
+	if [ "x${PKG_DIR}" != "x" ] ; then
+		mkdir -p ${PKG_DIR}
+	fi
+
 	# Now build & install them
 	for p in `cat /tmp/_.plist`
 	do
@@ -231,9 +235,7 @@ ports_build() (
 
 			(
 			cd $p
-			make clean ${PORTS_OPTS}
-			make all ${PORTS_OPTS}
-			make install ${PORTS_OPTS}
+			make clean all install ${PORTS_OPTS}
 			) > _.$b 2>&1 < /dev/null
 			continue
 		fi


More information about the svn-src-all mailing list