use ROOT, not EROOT so we don't get a double prefix
authorFabian Groffen <grobian@gentoo.org>
Wed, 29 Sep 2010 11:25:37 +0000 (13:25 +0200)
committerFabian Groffen <grobian@gentoo.org>
Wed, 29 Sep 2010 11:25:37 +0000 (13:25 +0200)
pym/portage/dbapi/vartree.py

index 91c5fda2ef52cf3657be14309f947c27375ed5a5..fa309b0075a25b83f8adfe7180605be6e792c8bf 100644 (file)
@@ -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: