summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/ebuild.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh
index c434c9ba2..df3078f77 100755
--- a/bin/ebuild.sh
+++ b/bin/ebuild.sh
@@ -333,7 +333,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%/*}