summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/portage.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/pym/portage.py b/pym/portage.py
index 3838adcd8..6f57c1795 100644
--- a/pym/portage.py
+++ b/pym/portage.py
@@ -1217,6 +1217,11 @@ class config:
self["CBUILD"] = self["CHOST"]
self.backup_changes("CBUILD")
+ self["PORTAGE_BIN_PATH"] = PORTAGE_BIN_PATH
+ self.backup_changes("PORTAGE_BIN_PATH")
+ self["PORTAGE_PYM_PATH"] = PORTAGE_PYM_PATH
+ self.backup_changes("PORTAGE_PYM_PATH")
+
self.lookuplist=self.configlist[:]
self.lookuplist.reverse()
@@ -1272,9 +1277,6 @@ class config:
if mycpv:
self.setcpv(mycpv)
- self.backupenv["PORTAGE_BIN_PATH"] = PORTAGE_BIN_PATH
- self.backupenv["PORTAGE_PYM_PATH"] = PORTAGE_PYM_PATH
-
self._init_dirs()
def _init_dirs(self):