From: Zac Medico Date: Tue, 8 May 2012 15:42:12 +0000 (-0700) Subject: Strip EPREFIX in RESTRICT=binchecks QA Notice. X-Git-Tag: v2.2.0_alpha102~1 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=1987449799fe12c1066f2f46c75c4da99bc3405e;p=portage.git Strip EPREFIX in RESTRICT=binchecks QA Notice. --- diff --git a/bin/misc-functions.sh b/bin/misc-functions.sh index ab070aa8e..564af856f 100755 --- a/bin/misc-functions.sh +++ b/bin/misc-functions.sh @@ -150,7 +150,7 @@ prepcompress() { install_qa_check() { local f i qa_var x [[ " ${FEATURES} " == *" force-prefix "* ]] || \ - case "$EAPI" in 0|1|2) local ED=${D} ;; esac + case "$EAPI" in 0|1|2) local EPREFIX= ED=${D} ;; esac cd "${ED}" || die "cd failed" @@ -534,7 +534,7 @@ install_qa_check() { if has binchecks ${RESTRICT} && \ [ -s "${PORTAGE_BUILDDIR}/build-info/NEEDED.ELF.2" ] ; then eqawarn "QA Notice: RESTRICT=binchecks prevented checks on these ELF files:" - eqawarn "$(while read -r x; do x=${x#*;} ; echo ${x%%;*} ; done < "${PORTAGE_BUILDDIR}"/build-info/NEEDED.ELF.2)" + eqawarn "$(while read -r x; do x=${x#*;} ; x=${x%%;*} ; echo "${x#${EPREFIX}}" ; done < "${PORTAGE_BUILDDIR}"/build-info/NEEDED.ELF.2)" fi fi