aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2019-01-22 17:06:26 -0800
committerZac Medico <zmedico@gentoo.org>2019-01-22 17:07:56 -0800
commite77663ab90311c7407e3e8e6d7b72be4cf3e955d (patch)
treecb4d438bad1e6a1133448991f7b4582f910221bc
parentpid-sandbox: whitelist "depend" phase (diff)
downloadportage-e77663ab90311c7407e3e8e6d7b72be4cf3e955d.tar.gz
portage-e77663ab90311c7407e3e8e6d7b72be4cf3e955d.tar.bz2
portage-e77663ab90311c7407e3e8e6d7b72be4cf3e955d.zip
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@Apache.Org> Signed-off-by: Zac Medico <zmedico@gentoo.org>
-rwxr-xr-xbin/ebuild.sh7
1 files 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