summaryrefslogtreecommitdiffstats
path: root/pym
diff options
context:
space:
mode:
Diffstat (limited to 'pym')
-rw-r--r--pym/portage.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/pym/portage.py b/pym/portage.py
index 1acfed746..f8c599c1b 100644
--- a/pym/portage.py
+++ b/pym/portage.py
@@ -1293,6 +1293,8 @@ class config:
writemsg("!!! Error: ROOT '%s' is not a directory. Please correct this.\n" % myroot[:-1])
raise portage_exception.DirectoryNotFound(myroot)
self.backupenv["ROOT"] = myroot
+ self.backupenv["PORTAGE_BIN_PATH"] = PORTAGE_BIN_PATH
+ self.backupenv["PORTAGE_PYM_PATH"] = PORTAGE_PYM_PATH
self._init_dirs()