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 | 6a8cee099a8c3ea435f47ef792c26413c40cd048 (patch) | |
tree | bb1a121c88bd0be23c3397559f3c407bfa8ba419 /mk | |
parent | e53b9d9e831d31c8b85beb1c33beefd396906fd3 (diff) | |
download | pkgsrc-6a8cee099a8c3ea435f47ef792c26413c40cd048.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')
-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="" { |