summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2014-12-25 17:54:22 +0000
committerphk <phk@FreeBSD.org>2014-12-25 17:54:22 +0000
commitac5b1bdf7176022aa8b487a5c378684521c29db6 (patch)
treef2b8000a1a6528f0784ef8380ced160e4ca26793 /tools
parentb0cbc2ddd0a700f707c5368190b43c9ca234f10a (diff)
downloadFreeBSD-src-ac5b1bdf7176022aa8b487a5c378684521c29db6.zip
FreeBSD-src-ac5b1bdf7176022aa8b487a5c378684521c29db6.tar.gz
Create the PKG_DIR if it is missing
Diffstat (limited to 'tools')
-rw-r--r--tools/tools/sysbuild/sysbuild.sh8
1 files changed, 5 insertions, 3 deletions
diff --git a/tools/tools/sysbuild/sysbuild.sh b/tools/tools/sysbuild/sysbuild.sh
index bb22a69..d95b8df 100644
--- a/tools/tools/sysbuild/sysbuild.sh
+++ b/tools/tools/sysbuild/sysbuild.sh
@@ -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
OpenPOWER on IntegriCloud