summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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%/*}