aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2010-09-04 20:08:35 +0200
committerFabian Groffen <grobian@gentoo.org>2010-09-04 20:08:35 +0200
commit4c365322a910333edf7928f9ce228d5e9af24608 (patch)
tree92af89651a3c13e6460efbceaa61f76bd7b2d09b /bin/emaint
parentuse EROOT with CACHE_PATH (diff)
downloadportage-4c365322a910333edf7928f9ce228d5e9af24608.tar.gz
portage-4c365322a910333edf7928f9ce228d5e9af24608.tar.bz2
portage-4c365322a910333edf7928f9ce228d5e9af24608.zip
use EROOT with WORLD_FILE
Diffstat (limited to 'bin/emaint')
-rwxr-xr-xbin/emaint2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/emaint b/bin/emaint
index aa2e9a5c8..f11829897 100755
--- a/bin/emaint
+++ b/bin/emaint
@@ -40,7 +40,7 @@ class WorldHandler(object):
def _check_world(self, onProgress):
categories = set(portage.settings.categories)
myroot = portage.settings["ROOT"]
- self.world_file = os.path.join(myroot, portage.const.WORLD_FILE)
+ self.world_file = os.path.join(portage.settings["EROOT"], portage.const.WORLD_FILE)
self.found = os.access(self.world_file, os.R_OK)
vardb = portage.db[myroot]["vartree"].dbapi