diff options
author | hubertf <hubertf@pkgsrc.org> | 2001-11-26 00:55:45 +0000 |
---|---|---|
committer | hubertf <hubertf@pkgsrc.org> | 2001-11-26 00:55:45 +0000 |
commit | a329f921a8a1c91c3e099d3a1a9040fadc1d91e3 (patch) | |
tree | bfcd07c680832cf026698774de9fcbc995f08c9a /mk | |
parent | 24c9b715847c8cda70a570fc0967ac11ca1bae27 (diff) | |
download | pkgsrc-a329f921a8a1c91c3e099d3a1a9040fadc1d91e3.tar.gz |
Run "make bulk-package" with stdin redirected from /dev/null,
to prevent it sitting there for days waiting for input in useless
situations.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/bulk/build | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/bulk/build b/mk/bulk/build index 736aee0f991..8947421412a 100644 --- a/mk/bulk/build +++ b/mk/bulk/build @@ -1,5 +1,5 @@ #!/bin/sh -# $NetBSD: build,v 1.17 2001/11/08 02:52:25 jmc Exp $ +# $NetBSD: build,v 1.18 2001/11/26 00:55:45 hubertf Exp $ # # Copyright (c) 1999, 2000 Hubert Feyrer <hubertf@netbsd.org> @@ -177,7 +177,7 @@ do if ! grep -q "^${pkgdir}\$" $BUILDLOG ; then built=`wc -l $BUILDLOG | awk '{print $1}'` percent=`echo $built $tot | awk '{printf("%4.1f%%",$1*100/$2);}'` - (cd $pkgdir && nice -n 20 make USE_BULK_CACHE=yes bulk-package | sed "s;^;`date '+%m/%d/%y %H:%M:%S'` $built/${tot}=$percent $pkgdir @ `uname -p`> ;g") + (cd $pkgdir && nice -n 20 make USE_BULK_CACHE=yes bulk-package </dev/null | sed "s;^;`date '+%m/%d/%y %H:%M:%S'` $built/${tot}=$percent $pkgdir @ `uname -p`> ;g") echo "$pkgdir" >> $BUILDLOG fi done |