From: Zac Medico Date: Wed, 31 Oct 2007 17:33:00 +0000 (-0000) Subject: Fix diefunc() so that it doesn't report that the ebuild is from X-Git-Tag: v2.2_pre1~476 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e7f9d6e222313c7b2565284785221be38937de39;p=portage.git Fix diefunc() so that it doesn't report that the ebuild is from an overlay when EMERGE_FROM == binary. svn path=/main/trunk/; revision=8349 --- diff --git a/bin/isolated-functions.sh b/bin/isolated-functions.sh index 00f43d2d4..f471f8cae 100755 --- a/bin/isolated-functions.sh +++ b/bin/isolated-functions.sh @@ -90,7 +90,8 @@ diefunc() { eerror " ${x}" done fi - if [[ "${EBUILD#${PORTDIR}/}" == "${EBUILD}" ]] ; then + if [ "${EMERGE_FROM}" != "binary" ] && \ + [ "${EBUILD#${PORTDIR}/}" == "${EBUILD}" ] ; then local overlay=${EBUILD%/*} overlay=${overlay%/*} overlay=${overlay%/*}