summaryrefslogtreecommitdiff
path: root/Tools
diff options
context:
space:
mode:
authorSatoshi Asami <asami@FreeBSD.org>1999-07-30 06:53:31 +0000
committerSatoshi Asami <asami@FreeBSD.org>1999-07-30 06:53:31 +0000
commit99a7dab1676573f144027970ec9de53c737b53a8 (patch)
treeaeb7fb20caf35b0099716525c0014315f7113ef0 /Tools
parentRun with -j4. (diff)
Run with -j4.
Exit with error status if an error occured.
Notes
Notes: svn path=/head/; revision=20389
Diffstat (limited to 'Tools')
-rwxr-xr-xTools/portbuild/scripts/makeduds9
1 files changed, 8 insertions, 1 deletions
diff --git a/Tools/portbuild/scripts/makeduds b/Tools/portbuild/scripts/makeduds
index 351a00fad81a..034d0dcdbb2f 100755
--- a/Tools/portbuild/scripts/makeduds
+++ b/Tools/portbuild/scripts/makeduds
@@ -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}