Note: Due to technical difficulties, the Archives are currently not up to date.
GMANE provides an alternative service for most mailing lists. c.f. bug 424647
List Archive: gentoo-commits
commit: 0e3c7e33f3fe0ce593d6c40984db15f42fabd7f3
Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 29 19:38:51 2011 +0000
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Sat Oct 29 19:38:51 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=0e3c7e33
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.
---
bin/egencache | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/bin/egencache b/bin/egencache
index 01eadf0..22ce8ec 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]
|
|