From 0e3c7e33f3fe0ce593d6c40984db15f42fabd7f3 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sat, 29 Oct 2011 12:38:51 -0700 Subject: 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 file changed, 2 insertions(+) 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] -- cgit v1.2.3-1-g7c22