summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-06-09 04:46:32 +0000
committerZac Medico <zmedico@gentoo.org>2007-06-09 04:46:32 +0000
commitfde31808d9bb600102d57f42883b73f21e4b0392 (patch)
tree1be06eb8f12b42b770ae2fa1717fc5da2453d5b1 /bin
parentDon't forget to rename the temporary binpkg after it's created. (diff)
downloadportage-multirepo-fde31808d9bb600102d57f42883b73f21e4b0392.tar.gz
portage-multirepo-fde31808d9bb600102d57f42883b73f21e4b0392.tar.bz2
portage-multirepo-fde31808d9bb600102d57f42883b73f21e4b0392.zip
Skip bogus '$ECLASS inherited illegally' messages when installing from a binary package. (trunk r6775)v2.1.2.10
svn path=/main/branches/2.1.2/; revision=6776
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 6940c9df..5b9abd7a 100755
--- a/bin/ebuild.sh
+++ b/bin/ebuild.sh
@@ -1218,7 +1218,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.