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 /eclass/multibuild.eclass
parentpython-single-r1.eclass: Enable EAPI=6, no changes needed (diff)
downloadgentoo-2165c816b663093835bb4555ed12456ec3c535f1.tar.gz
gentoo-2165c816b663093835bb4555ed12456ec3c535f1.tar.bz2
gentoo-2165c816b663093835bb4555ed12456ec3c535f1.zip
multibuild.eclass: Ban multibuild_parallel_foreach_variant in EAPI 6
Diffstat (limited to 'eclass/multibuild.eclass')
-rw-r--r--eclass/multibuild.eclass2
1 files changed, 2 insertions, 0 deletions
diff --git a/eclass/multibuild.eclass b/eclass/multibuild.eclass
index 3115ac921697..0bdbed186f9f 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 "${@}"
}