diff options
author | Fabian Groffen <grobian@gentoo.org> | 2010-09-04 19:43:53 +0200 |
---|---|---|
committer | Fabian Groffen <grobian@gentoo.org> | 2010-09-04 19:43:53 +0200 |
commit | e3c7244706e2efdae7adfa9816348c3bb74c319f (patch) | |
tree | c294a048a09a74edd196d14da91c834337c6419b /bin/emaint | |
parent | c7eb78e9cba3d8837e65792652432c8d42a59152 (diff) | |
download | portage-e3c7244706e2efdae7adfa9816348c3bb74c319f.tar.gz portage-e3c7244706e2efdae7adfa9816348c3bb74c319f.tar.bz2 portage-e3c7244706e2efdae7adfa9816348c3bb74c319f.zip |
use EROOT with VDB_PATH
Diffstat (limited to 'bin/emaint')
-rwxr-xr-x | bin/emaint | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/emaint b/bin/emaint index 5ff60422c..aa2e9a5c8 100755 --- a/bin/emaint +++ b/bin/emaint @@ -389,7 +389,7 @@ class VdbKeyHandler(object): self.keys = ["HOMEPAGE", "SRC_URI", "KEYWORDS", "DESCRIPTION"] for p in self.list: - mydir = os.path.join(os.sep, portage.settings["ROOT"], portage.const.VDB_PATH, p)+os.sep + mydir = os.path.join(os.sep, portage.settings["EROOT"], portage.const.VDB_PATH, p)+os.sep ismissing = True for k in self.keys: if os.path.exists(mydir+k): @@ -406,7 +406,7 @@ class VdbKeyHandler(object): errors = [] for p in self.missing: - mydir = os.path.join(os.sep, portage.settings["ROOT"], portage.const.VDB_PATH, p)+os.sep + mydir = os.path.join(os.sep, portage.settings["EROOT"], portage.const.VDB_PATH, p)+os.sep if not os.access(mydir+"environment.bz2", os.R_OK): errors.append("Can't access %s" % (mydir+"environment.bz2")) elif not os.access(mydir, os.W_OK): |