diff options
author | Zac Medico <zmedico@gentoo.org> | 2007-10-31 17:33:00 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2007-10-31 17:33:00 +0000 |
commit | e7f9d6e222313c7b2565284785221be38937de39 (patch) | |
tree | 3b0e522f0fa93fef54449cf393815cee32d749bd | |
parent | adedcdb4c04183381e2bbe792963af0be43dc828 (diff) | |
download | portage-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-x | bin/isolated-functions.sh | 3 |
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%/*} |