diff options
Diffstat (limited to 'pym/_emerge/main.py')
-rw-r--r-- | pym/_emerge/main.py | 2 |
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: |