From 8805dcd785ff929ba6de5dfd702cdd9750547368 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Mon, 28 May 2007 09:34:52 +0000 Subject: Fix emaint world $ROOT handling. svn path=/main/trunk/; revision=6653 --- bin/emaint | 4 ++-- 1 file 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() -- cgit v1.2.3-1-g7c22