1 |
commit: e77663ab90311c7407e3e8e6d7b72be4cf3e955d |
2 |
Author: Zac Medico <zmedico <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jan 23 01:06:26 2019 +0000 |
4 |
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jan 23 01:07:56 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=e77663ab |
7 |
|
8 |
ebuild.sh: eliminate inherit eqawarn call to external fmt command |
9 |
|
10 |
Fixes: fb2459330cf2 ("ebuild.sh: Completely ban external commands in global scope") |
11 |
Reported-by: Arfrever Frehtes Taifersar Arahesis <Arfrever <AT> Apache.Org> |
12 |
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org> |
13 |
|
14 |
bin/ebuild.sh | 7 +++---- |
15 |
1 file changed, 3 insertions(+), 4 deletions(-) |
16 |
|
17 |
diff --git a/bin/ebuild.sh b/bin/ebuild.sh |
18 |
index 820db50ca..0ec033ae7 100755 |
19 |
--- a/bin/ebuild.sh |
20 |
+++ b/bin/ebuild.sh |
21 |
@@ -243,10 +243,9 @@ inherit() { |
22 |
fi |
23 |
|
24 |
if [[ -n $ECLASS && -n ${!__export_funcs_var} ]] ; then |
25 |
- echo "QA Notice: EXPORT_FUNCTIONS is called before inherit in" \ |
26 |
- "$ECLASS.eclass. For compatibility with <=portage-2.1.6.7," \ |
27 |
- "only call EXPORT_FUNCTIONS after inherit(s)." \ |
28 |
- | fmt -w 75 | while read -r ; do eqawarn "$REPLY" ; done |
29 |
+ eqawarn "QA Notice: EXPORT_FUNCTIONS is called before inherit in ${ECLASS}.eclass." |
30 |
+ eqawarn "For compatibility with <=portage-2.1.6.7, only call EXPORT_FUNCTIONS" |
31 |
+ eqawarn "after inherit(s)." |
32 |
fi |
33 |
|
34 |
local repo_location |