diff options
author | Michał Górny <mgorny@gentoo.org> | 2017-04-15 14:30:07 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2017-04-15 14:32:13 +0200 |
commit | c387db6118ecadd196aec77eb6edc326bd0f2535 (patch) | |
tree | 7bc949c9879d30323202b0a525af1b40066da7ef /eclass/multibuild.eclass | |
parent | net-dns/libidn2: Old. (diff) | |
download | gentoo-c387db6118ecadd196aec77eb6edc326bd0f2535.tar.gz gentoo-c387db6118ecadd196aec77eb6edc326bd0f2535.tar.bz2 gentoo-c387db6118ecadd196aec77eb6edc326bd0f2535.zip |
multibuild.eclass: Revert "Reap stray subjobs before exiting sub-phase"
The code wrongly relies on 'bash -n' which is not available in bash 4.2.
Bug: https://bugs.gentoo.org/615642
Reverts: e5e4a35151f64b423c4201a30270a236dab3bf58
Diffstat (limited to 'eclass/multibuild.eclass')
-rw-r--r-- | eclass/multibuild.eclass | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/eclass/multibuild.eclass b/eclass/multibuild.eclass index a29218d8d840..0f89e4ec0b83 100644 --- 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} |