aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2019-08-15 18:06:01 -0700
committerZac Medico <zmedico@gentoo.org>2019-08-15 18:06:59 -0700
commitf44d32550861cb25c209ef61dcd7ae1aa230da1f (patch)
tree98f3a3a4cc5a431a6e26bd3900d9c937bc897b94
parenteconf: Unconditionally die on error in EAPIs 0 to 3. (diff)
downloadportage-f44d3255.tar.gz
portage-f44d3255.tar.bz2
portage-f44d3255.zip
Revert "Generate a QA Notice when EXPORT_FUNCTIONS is called before inherit"
This reverts commit 7cb39877b7f6231ce11f1161cf2d3fe42e287b59. Bug: https://bugs.gentoo.org/692262 Signed-off-by: Zac Medico <zmedico@gentoo.org>
-rwxr-xr-xbin/ebuild.sh8
1 files changed, 0 insertions, 8 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh
index 56555a5b7..5bd727aed 100755
--- a/bin/ebuild.sh
+++ b/bin/ebuild.sh
@@ -241,14 +241,6 @@ inherit() {
ECLASS_DEPTH=$(($ECLASS_DEPTH + 1))
if [[ ${ECLASS_DEPTH} -gt 1 ]]; then
debug-print "*** Multiple Inheritence (Level: ${ECLASS_DEPTH})"
-
- # Since ECLASS_DEPTH > 1, the following variables are locals from the
- # previous inherit call in the call stack.
- if [[ -n ${ECLASS} && -n ${!__export_funcs_var} ]] ; then
- eqawarn "QA Notice: EXPORT_FUNCTIONS is called before inherit in ${ECLASS}.eclass."
- eqawarn "For compatibility with <=portage-2.1.6.7, only call EXPORT_FUNCTIONS"
- eqawarn "after inherit(s)."
- fi
fi
local -x ECLASS