From: Zac Medico Date: Sat, 29 Oct 2011 19:38:51 +0000 (-0700) Subject: egencache: ensure correct porttrees X-Git-Tag: v2.2.0_alpha72~15 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=0e3c7e33f3fe0ce593d6c40984db15f42fabd7f3;p=portage.git egencache: ensure correct porttrees The GenCache class assumes that portdb.porttrees[0] is the desired tree, so assert that it is true. The behavior should have already been correct, since PORTDIR_OVERLAY was already set to an empty string when necessary. --- diff --git a/bin/egencache b/bin/egencache index 01eadf053..22ce8ec33 100755 --- a/bin/egencache +++ b/bin/egencache @@ -864,6 +864,8 @@ def egencache_main(args): # Limit ebuilds to the specified repo. portdb.porttrees = [repo_path] + else: + portdb.porttrees = [portdb.porttree_root] ret = [os.EX_OK]