diff options
author | asami <asami@FreeBSD.org> | 1999-07-30 14:53:31 +0800 |
---|---|---|
committer | asami <asami@FreeBSD.org> | 1999-07-30 14:53:31 +0800 |
commit | 2ac18344abb878822a48ba9caa4de2a4a098b053 (patch) | |
tree | 3b5e946a8d56210d414e63e6b2905f74efc57053 | |
parent | c06f3c3eb482aaca59d32948ae9ff920377675c0 (diff) | |
download | freebsd-ports-gnome-2ac18344abb878822a48ba9caa4de2a4a098b053.tar.gz freebsd-ports-gnome-2ac18344abb878822a48ba9caa4de2a4a098b053.tar.zst freebsd-ports-gnome-2ac18344abb878822a48ba9caa4de2a4a098b053.zip |
Run with -j4.
Exit with error status if an error occured.
-rwxr-xr-x | Tools/portbuild/scripts/makeduds | 9 |
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} |