summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/emaint4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/emaint b/bin/emaint
index d1efc0ab8..174b4540d 100755
--- a/bin/emaint
+++ b/bin/emaint
@@ -24,12 +24,12 @@ class WorldHandler(object):
self.not_installed = []
self.invalid_category = []
self.okay = []
- self.world_file = os.path.join("/", portage.const.WORLD_FILE)
- self.found = os.access(self.world_file, os.R_OK)
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.found = os.access(self.world_file, os.R_OK)
vardb = portage.db[myroot]["vartree"].dbapi
world_atoms = open(self.world_file).read().split()