summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2010-09-29 13:25:37 +0200
committerFabian Groffen <grobian@gentoo.org>2010-09-29 13:25:37 +0200
commit11ec19654d5fd74b148a08a68cd09f0cb83cbf64 (patch)
tree426e817a908ffdd6f3396c16629eb7bbf4ba10e3
parent0f7133254022290622cec3f93673ada1d316cff0 (diff)
downloadportage-11ec19654d5fd74b148a08a68cd09f0cb83cbf64.tar.gz
portage-11ec19654d5fd74b148a08a68cd09f0cb83cbf64.tar.bz2
portage-11ec19654d5fd74b148a08a68cd09f0cb83cbf64.zip
use ROOT, not EROOT so we don't get a double prefix
-rw-r--r--pym/portage/dbapi/vartree.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pym/portage/dbapi/vartree.py b/pym/portage/dbapi/vartree.py
index 91c5fda2e..fa309b007 100644
--- a/pym/portage/dbapi/vartree.py
+++ b/pym/portage/dbapi/vartree.py
@@ -2381,7 +2381,7 @@ class dblink(object):
preserved_paths = set()
path_cpv_map = {}
path_node_map = {}
- root = self._eroot
+ root = self.settings['ROOT']
def path_to_node(path):
node = path_node_map.get(path)
@@ -2480,7 +2480,7 @@ class dblink(object):
files_to_remove.update(files)
files_to_remove = sorted(files_to_remove)
showMessage = self._display_merge
- root = self._eroot
+ root = self.settings['ROOT']
parent_dirs = set()
for obj in files_to_remove: