From: Zac Medico Date: Sat, 9 Jun 2007 04:45:57 +0000 (-0000) Subject: Skip bogus '$ECLASS inherited illegally' messages when installing from a binary package. X-Git-Tag: v2.2_pre1~1275 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e106418e38ade096b3705fef33ff38e8c51cbfcd;p=portage.git Skip bogus '$ECLASS inherited illegally' messages when installing from a binary package. svn path=/main/trunk/; revision=6775 --- 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.