From 3ac38efc46d55cd9d19c129250769e9df0f2e26f Mon Sep 17 00:00:00 2001 From: hubertf Date: Fri, 29 Sep 2000 04:28:50 +0000 Subject: * Make setting ftp_proxy and http_proxy actually work * Store (t)sorted list of pkgs to build in .l --- mk/bulk/build | 28 ++++++++++++++-------------- 1 file 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 -- cgit v1.2.3