From e7f9d6e222313c7b2565284785221be38937de39 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Wed, 31 Oct 2007 17:33:00 +0000 Subject: 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 --- bin/isolated-functions.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bin') 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%/*} -- cgit v1.2.3-1-g7c22