summaryrefslogtreecommitdiffstats
path: root/pym/_emerge/main.py
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2010-09-04 19:57:34 +0200
committerFabian Groffen <grobian@gentoo.org>2010-09-04 19:57:34 +0200
commit0e52b06e0da1dc22a09f80f198c4fa7e4a5aa9aa (patch)
treedce3ef8f9a71c4b9d82320e6c0ca62a3349fb16c /pym/_emerge/main.py
parente3c7244706e2efdae7adfa9816348c3bb74c319f (diff)
downloadportage-0e52b06e0da1dc22a09f80f198c4fa7e4a5aa9aa.tar.gz
portage-0e52b06e0da1dc22a09f80f198c4fa7e4a5aa9aa.tar.bz2
portage-0e52b06e0da1dc22a09f80f198c4fa7e4a5aa9aa.zip
use EROOT with VDB_PATH
Diffstat (limited to 'pym/_emerge/main.py')
-rw-r--r--pym/_emerge/main.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/_emerge/main.py b/pym/_emerge/main.py
index 455072654..4ca9283dd 100644
--- a/pym/_emerge/main.py
+++ b/pym/_emerge/main.py
@@ -342,7 +342,7 @@ def post_emerge(root_config, myopts, mtimedb, retval):
# If vdb state has not changed then there's nothing else to do.
sys.exit(retval)
- vdb_path = os.path.join(target_root, portage.VDB_PATH)
+ vdb_path = os.path.join(root_config.settings['EROOT'], portage.VDB_PATH)
portage.util.ensure_dirs(vdb_path)
vdb_lock = None
if os.access(vdb_path, os.W_OK) and not "--pretend" in myopts: