1 |
commit: f44d32550861cb25c209ef61dcd7ae1aa230da1f |
2 |
Author: Zac Medico <zmedico <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Aug 16 01:06:01 2019 +0000 |
4 |
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Aug 16 01:06:59 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=f44d3255 |
7 |
|
8 |
Revert "Generate a QA Notice when EXPORT_FUNCTIONS is called before inherit" |
9 |
|
10 |
This reverts commit 7cb39877b7f6231ce11f1161cf2d3fe42e287b59. |
11 |
|
12 |
Bug: https://bugs.gentoo.org/692262 |
13 |
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org> |
14 |
|
15 |
bin/ebuild.sh | 8 -------- |
16 |
1 file changed, 8 deletions(-) |
17 |
|
18 |
diff --git a/bin/ebuild.sh b/bin/ebuild.sh |
19 |
index 56555a5b7..5bd727aed 100755 |
20 |
--- a/bin/ebuild.sh |
21 |
+++ b/bin/ebuild.sh |
22 |
@@ -241,14 +241,6 @@ inherit() { |
23 |
ECLASS_DEPTH=$(($ECLASS_DEPTH + 1)) |
24 |
if [[ ${ECLASS_DEPTH} -gt 1 ]]; then |
25 |
debug-print "*** Multiple Inheritence (Level: ${ECLASS_DEPTH})" |
26 |
- |
27 |
- # Since ECLASS_DEPTH > 1, the following variables are locals from the |
28 |
- # previous inherit call in the call stack. |
29 |
- if [[ -n ${ECLASS} && -n ${!__export_funcs_var} ]] ; then |
30 |
- eqawarn "QA Notice: EXPORT_FUNCTIONS is called before inherit in ${ECLASS}.eclass." |
31 |
- eqawarn "For compatibility with <=portage-2.1.6.7, only call EXPORT_FUNCTIONS" |
32 |
- eqawarn "after inherit(s)." |
33 |
- fi |
34 |
fi |
35 |
|
36 |
local -x ECLASS |