diff options
author | hubertf <hubertf> | 2001-11-26 00:55:45 +0000 |
---|---|---|
committer | hubertf <hubertf> | 2001-11-26 00:55:45 +0000 |
commit | 1d58c1fb16635eacd3f3910b0f94622d59377d69 (patch) | |
tree | bfcd07c680832cf026698774de9fcbc995f08c9a /mk | |
parent | 78bf37cefd7f8ce8792fea4ec47f9fedef8a201a (diff) | |
download | pkgsrc-1d58c1fb16635eacd3f3910b0f94622d59377d69.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 |