Run with -j4.

Exit with error status if an error occured.
This commit is contained in:
Satoshi Asami 1999-07-30 06:53:31 +00:00
parent 79ab397bca
commit 99a7dab167
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=20389

View file

@ -1,5 +1,9 @@
#!/bin/sh
# usage: $0 branch
# -j# to make duds
DUDSJOBS=4
usage () {
echo "usage: makeduds branch"
exit 1
@ -32,6 +36,7 @@ case "x$1" in
esac
export PORTSDIR=$(pwd)
duds=../../${branch}/duds
unset DISPLAY
export BATCH=t
@ -40,4 +45,6 @@ export PACKAGE_BUILDING=t
export PARALLEL_PACKAGE_BUILD=t
export NO_RESTRICTED=t
#export FOR_CDROM=t
make ignorelist ECHO_MSG=true > ../../${branch}/duds
make -j${DUDSJOBS} ignorelist ECHO_MSG=true > ${duds} || exit 1
sort ${duds} > ${duds}.tmp
mv -f ${duds}.tmp ${duds}