diff options
author | hubertf <hubertf@pkgsrc.org> | 2000-09-29 04:28:50 +0000 |
---|---|---|
committer | hubertf <hubertf@pkgsrc.org> | 2000-09-29 04:28:50 +0000 |
commit | d17056245a82ec057c9378c0d93740776287ebb9 (patch) | |
tree | dc2800e74b3cbd5772ef50b1358a0c8be7f943e3 /mk | |
parent | cbff95cff410cecba07a2ea3e9f5d851229f7881 (diff) | |
download | pkgsrc-d17056245a82ec057c9378c0d93740776287ebb9.tar.gz |
* Make setting ftp_proxy and http_proxy actually work
* Store (t)sorted list of pkgs to build in .l
Diffstat (limited to 'mk')
-rw-r--r-- | mk/bulk/build | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/mk/bulk/build b/mk/bulk/build index 384f87ad54c..e18a2fe7826 100644 --- a/mk/bulk/build +++ b/mk/bulk/build @@ -1,5 +1,5 @@ #!/bin/sh -# $NetBSD: build,v 1.3 2000/09/17 21:55:09 hubertf Exp $ +# $NetBSD: build,v 1.4 2000/09/29 04:28:50 hubertf Exp $ # # Do builk build # @@ -9,17 +9,7 @@ echo Bulk build started: `date` echo "" -if [ "$http_proxy" != "" ]; then - echo "Using HTTP proxy $http_proxy" - export http_proxy -fi -if [ "$ftp_proxy" != "" ]; then - echo "Using FTP proxy $ftp_proxy" - export ftp_proxy -fi -echo "" - -# Pull in ADMIN: +# Pull in ADMIN etc.: if [ -f "$BULK_BUILD_CONF" ]; then . $BULK_BUILD_CONF else @@ -32,6 +22,16 @@ else fi fi +if [ "$http_proxy" != "" ]; then + echo "Using HTTP proxy $http_proxy" + export http_proxy +fi +if [ "$ftp_proxy" != "" ]; then + echo "Using FTP proxy $ftp_proxy" + export ftp_proxy +fi +echo "" + unset DISPLAY # allow sane failure for gimp, xlispstat cd ${USR_PKGSRC} @@ -44,11 +44,11 @@ fi # Figure out optimal build order, and build if [ "$1" != "restart" ]; then - sh mk/bulk/printdepends | tee .l + sh mk/bulk/printdepends | tsort | tee .l fi nice -n 20 make \ SPECIFIC_PKGS=1 \ - GROUP_SPECIFIC_PKGS="`tsort .l | tr '\012' ' '`" \ + GROUP_SPECIFIC_PKGS="`cat .l | tr '\012' ' '`" \ bulk-package | sed 's/^/'`uname -p`'> /g' rm .l |