summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-10-31 17:33:00 +0000
committerZac Medico <zmedico@gentoo.org>2007-10-31 17:33:00 +0000
commite7f9d6e222313c7b2565284785221be38937de39 (patch)
tree3b0e522f0fa93fef54449cf393815cee32d749bd
parentadedcdb4c04183381e2bbe792963af0be43dc828 (diff)
downloadportage-e7f9d6e222313c7b2565284785221be38937de39.tar.gz
portage-e7f9d6e222313c7b2565284785221be38937de39.tar.bz2
portage-e7f9d6e222313c7b2565284785221be38937de39.zip
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
-rwxr-xr-xbin/isolated-functions.sh3
1 files changed, 2 insertions, 1 deletions
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%/*}