summaryrefslogtreecommitdiff
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 /bin/isolated-functions.sh
parentUpdate the FEATURES=mirror docs to more accurately reflect behavior. (diff)
downloadportage-multirepo-e7f9d6e222313c7b2565284785221be38937de39.tar.gz
portage-multirepo-e7f9d6e222313c7b2565284785221be38937de39.tar.bz2
portage-multirepo-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
Diffstat (limited to 'bin/isolated-functions.sh')
-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 00f43d2d..f471f8ca 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%/*}