From 04463a130cadf6eadcb2f49ba6026a248ea2c9c4 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 27 Oct 2011 18:17:55 -0700 Subject: Fix missed ROOT -> EROOT changes. These go along with commit a715b65f7bd36409c1283e6911265d1f4405ab7a. --- bin/repoman | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bin/repoman') diff --git a/bin/repoman b/bin/repoman index 8adccc774..2099241d9 100755 --- a/bin/repoman +++ b/bin/repoman @@ -574,9 +574,9 @@ repoman_settings['PORTDIR_OVERLAY'] = "%s %s" % \ repoman_settings = portage.config(local_config=False, _eprefix=eprefix, env=dict(os.environ, PORTDIR_OVERLAY=repoman_settings['PORTDIR_OVERLAY'])) -root = '/' +root = repoman_settings['EROOT'] trees = { - root : {'porttree' : portage.portagetree(root, settings=repoman_settings)} + root : {'porttree' : portage.portagetree(settings=repoman_settings)} } portdb = trees[root]['porttree'].dbapi @@ -2021,7 +2021,7 @@ for x in effective_scanlist: xcache.update(shared_xmatch_caches) arch_xmatch_caches[xmatch_cache_key] = xcache - trees["/"]["porttree"].settings = dep_settings + trees[root]["porttree"].settings = dep_settings portdb.settings = dep_settings portdb.xcache = xcache # for package.use.mask support inside dep_check -- cgit v1.2.3-1-g7c22