projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1968405
)
multibuild.eclass: Revert "Reap stray subjobs before exiting sub-phase"
author
Michał Górny
<mgorny@gentoo.org>
Sat, 15 Apr 2017 12:30:07 +0000
(14:30 +0200)
committer
Michał Górny
<mgorny@gentoo.org>
Sat, 15 Apr 2017 12:32:13 +0000
(14:32 +0200)
The code wrongly relies on 'bash -n' which is not available in bash 4.2.
Bug: https://bugs.gentoo.org/615642
Reverts:
e5e4a35151f64b423c4201a30270a236dab3bf58
eclass/multibuild.eclass
patch
|
blob
|
history
diff --git
a/eclass/multibuild.eclass
b/eclass/multibuild.eclass
index a29218d8d84078250e1cbee6ed82e746fb17c3b8..0f89e4ec0b83a21a2c32cdfd708ff64710aa1554 100644
(file)
--- a/
eclass/multibuild.eclass
+++ b/
eclass/multibuild.eclass
@@
-125,18
+125,6
@@
multibuild_foreach_variant() {
_multibuild_run "${@}" \
> >(exec tee -a "${T}/build-${MULTIBUILD_ID}.log") 2>&1
lret=${?}
-
- # make sure no processes are left over
- local leftovers=
- while :; do
- wait -n
- [[ ${?} -eq 127 ]] && break || leftovers=1
- done
-
- if [[ ${leftovers} ]]; then
- ewarn "The multibuild function has left one or more processes running"
- ewarn "in the background. Please report a bug."
- fi
done
[[ ${ret} -eq 0 && ${lret} -ne 0 ]] && ret=${lret}