diff options
author | Zac Medico <zmedico@gentoo.org> | 2007-07-30 03:38:54 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2007-07-30 03:38:54 +0000 |
commit | 8e7b1feb84ea0fea8ee7d07ce01d9fda10ae9dbc (patch) | |
tree | 594704e548852af89787434e075e127c0749506e /bin/ebuild.sh | |
parent | 3af1d9fc56afe3ea8cc5681d4bf61a40ca9dcca7 (diff) | |
download | portage-8e7b1feb84ea0fea8ee7d07ce01d9fda10ae9dbc.tar.gz portage-8e7b1feb84ea0fea8ee7d07ce01d9fda10ae9dbc.tar.bz2 portage-8e7b1feb84ea0fea8ee7d07ce01d9fda10ae9dbc.zip |
Skip bogus '$ECLASS inherited illegally' messages when installing from a binary package. (branches/2.1.2 r6776)
svn path=/main/branches/2.1.2.9/; revision=7456
Diffstat (limited to 'bin/ebuild.sh')
-rwxr-xr-x | bin/ebuild.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh index 6940c9df4..5b9abd7a6 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. |