summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2015-11-18 22:20:59 +0100
committerMichał Górny <mgorny@gentoo.org>2015-11-28 20:09:06 +0100
commit2165c816b663093835bb4555ed12456ec3c535f1 (patch)
treee7937a6636fea8e05e7d361182cddfd8fae2a9f6
parent49c3bd48b89bc2d161db3268e26e2b698af6f97a (diff)
downloadgentoo-2165c816b663093835bb4555ed12456ec3c535f1.tar.gz
gentoo-2165c816b663093835bb4555ed12456ec3c535f1.tar.xz
multibuild.eclass: Ban multibuild_parallel_foreach_variant in EAPI 6
-rw-r--r--eclass/multibuild.eclass2
1 files changed, 2 insertions, 0 deletions
diff --git a/eclass/multibuild.eclass b/eclass/multibuild.eclass
index 3115ac92169..0bdbed186f9 100644
--- a/eclass/multibuild.eclass
+++ b/eclass/multibuild.eclass
@@ -146,6 +146,8 @@ multibuild_foreach_variant() {
multibuild_parallel_foreach_variant() {
debug-print-function ${FUNCNAME} "${@}"
+ [[ ${EAPI} == [45] ]] || die "${FUNCNAME} is banned in EAPI ${EAPI}"
+
multibuild_foreach_variant "${@}"
}