summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-06-09 04:45:57 +0000
committerZac Medico <zmedico@gentoo.org>2007-06-09 04:45:57 +0000
commite106418e38ade096b3705fef33ff38e8c51cbfcd (patch)
treec728d1951ddbe9e249cfd137048af33d5581ab9c /bin
parent90fcc3a2b425ea9b47f5a666dd5fac127c4c8c85 (diff)
downloadportage-e106418e38ade096b3705fef33ff38e8c51cbfcd.tar.gz
portage-e106418e38ade096b3705fef33ff38e8c51cbfcd.tar.bz2
portage-e106418e38ade096b3705fef33ff38e8c51cbfcd.zip
Skip bogus '$ECLASS inherited illegally' messages when installing from a binary package.
svn path=/main/trunk/; revision=6775
Diffstat (limited to 'bin')
-rwxr-xr-xbin/ebuild.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh
index ea1cd8290..fcfbe5430 100755
--- a/bin/ebuild.sh
+++ b/bin/ebuild.sh
@@ -1145,7 +1145,8 @@ inherit() {
export ECLASS="$1"
if [ "${EBUILD_PHASE}" != "depend" ] && \
- [[ ${EBUILD_PHASE} != *rm ]]; then
+ [[ ${EBUILD_PHASE} != *rm ]] && \
+ [[ ${EMERGE_FROM} != "binary" ]] ; then
# This is disabled in the *rm phases because they frequently give
# false alarms due to INHERITED in /var/db/pkg being outdated
# in comparison the the eclasses from the portage tree.