Inject EPREFIX in settings such that it becomes available to e.g.
authorFabian Groffen <grobian@gentoo.org>
Sun, 5 Nov 2006 15:58:12 +0000 (15:58 -0000)
committerFabian Groffen <grobian@gentoo.org>
Sun, 5 Nov 2006 15:58:12 +0000 (15:58 -0000)
portageq which uses it.  This used to be the case, but somehow recent
patches removed this on freshly installed boxes.

svn path=/main/branches/prefix/; revision=4942

pym/portage.py

index 852041e5b89c4b09a62c6711fbd940099cfaa0c0..b404aa41b529abbd2c378c33301bb56379c21552 100644 (file)
@@ -1374,6 +1374,10 @@ class config:
                        self["FEATURES"] = " ".join(self.features)
                        self.backup_changes("FEATURES")
 
+                       # inject EPREFIX as it's in no single config file (I hope),
+                       # but needs to be available using portageq
+                       self["EPREFIX"] = EPREFIX
+
                        self._init_dirs()
 
                if mycpv: