summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2012-05-08 08:42:12 -0700
committerZac Medico <zmedico@gentoo.org>2012-05-08 08:42:12 -0700
commit1987449799fe12c1066f2f46c75c4da99bc3405e (patch)
tree5667369017373fc4cd6756e0f04ea0aed5ed4f24 /bin
parenta0eb86870f1564b84f0b561013d8e597347727e4 (diff)
downloadportage-1987449799fe12c1066f2f46c75c4da99bc3405e.tar.gz
portage-1987449799fe12c1066f2f46c75c4da99bc3405e.tar.bz2
portage-1987449799fe12c1066f2f46c75c4da99bc3405e.zip
Strip EPREFIX in RESTRICT=binchecks QA Notice.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/misc-functions.sh4
1 files changed, 2 insertions, 2 deletions
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