diff options
author | rillig <rillig@pkgsrc.org> | 2006-12-10 13:59:31 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2006-12-10 13:59:31 +0000 |
commit | d9edfa071bc2adb74eac5535a828d4c378761e69 (patch) | |
tree | bb1a121c88bd0be23c3397559f3c407bfa8ba419 /mk/bulk | |
parent | 485273a8220a56b569fa8a81798b1415640f7477 (diff) | |
download | pkgsrc-d9edfa071bc2adb74eac5535a828d4c378761e69.tar.gz |
Fixed the creating of numerous zombie processes, which is a bug in the
NetBSD /bin/sh, reported in PR 35227.
Diffstat (limited to 'mk/bulk')
-rw-r--r-- | mk/bulk/printindex | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/mk/bulk/printindex b/mk/bulk/printindex index 82ad5058452..394c490af68 100644 --- a/mk/bulk/printindex +++ b/mk/bulk/printindex @@ -1,5 +1,5 @@ #!/bin/sh -# $NetBSD: printindex,v 1.29 2006/11/26 08:39:52 rillig Exp $ +# $NetBSD: printindex,v 1.30 2006/12/10 13:59:31 rillig Exp $ # # Copyright (c) 2001 The NetBSD Foundation, Inc. @@ -161,6 +161,13 @@ for pkgdir in $list :detect_duplicates: $BULK_PREREQ; do esac if cd "${pkgsrcdir}/${pkgdir}"; then + + # The NetBSD /bin/sh creates lots of zombies for the backticks + # line below, and it doesn't clean them up until a real + # command is executed. (See PR 35227) + # + cat </dev/null + if output=`${BMAKE} show-var VARNAME=PKGNAME can-be-built-here`; then reasons="" { |