summaryrefslogtreecommitdiffstats
path: root/bin/egencache
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2011-12-09 22:02:01 -0800
committerZac Medico <zmedico@gentoo.org>2011-12-09 22:02:01 -0800
commitbd8514843e2dac56c59a566b335c89d486ad894b (patch)
tree3014b981fc468bc61efe0279c0d47b7fb875eea7 /bin/egencache
parent49689816166eee3d4fd4d2b1b9932398f3835341 (diff)
downloadportage-bd8514843e2dac56c59a566b335c89d486ad894b.tar.gz
portage-bd8514843e2dac56c59a566b335c89d486ad894b.tar.bz2
portage-bd8514843e2dac56c59a566b335c89d486ad894b.zip
Use portage.const.EPREFIX more.
Diffstat (limited to 'bin/egencache')
-rwxr-xr-xbin/egencache2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/egencache b/bin/egencache
index ba1f18873..532cc034c 100755
--- a/bin/egencache
+++ b/bin/egencache
@@ -841,7 +841,7 @@ def egencache_main(args):
if options.portdir is not None:
env['PORTDIR'] = options.portdir
- eprefix = os.environ.get("__PORTAGE_TEST_EPREFIX")
+ eprefix = portage.const.EPREFIX
settings = portage.config(config_root=config_root,
local_config=False, env=env, _eprefix=eprefix)