diff options
author | Zac Medico <zmedico@gentoo.org> | 2019-01-22 17:06:26 -0800 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2019-01-22 17:07:56 -0800 |
commit | e77663ab90311c7407e3e8e6d7b72be4cf3e955d (patch) | |
tree | cb4d438bad1e6a1133448991f7b4582f910221bc | |
parent | pid-sandbox: whitelist "depend" phase (diff) | |
download | portage-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-x | bin/ebuild.sh | 7 |
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 |