commit:     e77663ab90311c7407e3e8e6d7b72be4cf3e955d
Author:     Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 23 01:06:26 2019 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Wed Jan 23 01:07:56 2019 +0000
URL:        https://gitweb.gentoo.org/proj/portage.git/commit/?id=e77663ab

ebuild.sh: eliminate inherit eqawarn call to external fmt command

Fixes: fb2459330cf2 ("ebuild.sh: Completely ban external commands in global 
scope")
Reported-by: Arfrever Frehtes Taifersar Arahesis <Arfrever <AT> Apache.Org>
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>

 bin/ebuild.sh | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/bin/ebuild.sh b/bin/ebuild.sh
index 820db50ca..0ec033ae7 100755
--- a/bin/ebuild.sh
+++ b/bin/ebuild.sh
@@ -243,10 +243,9 @@ inherit() {
        fi
 
        if [[ -n $ECLASS && -n ${!__export_funcs_var} ]] ; then
-               echo "QA Notice: EXPORT_FUNCTIONS is called before inherit in" \
-                       "$ECLASS.eclass. For compatibility with 
<=portage-2.1.6.7," \
-                       "only call EXPORT_FUNCTIONS after inherit(s)." \
-                       | fmt -w 75 | while read -r ; do eqawarn "$REPLY" ; done
+               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
 
        local repo_location

Reply via email to