From: Fabian Groffen Date: Sun, 5 Nov 2006 15:58:12 +0000 (-0000) Subject: Inject EPREFIX in settings such that it becomes available to e.g. X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=cfcbd3bc48d27637a150ed1c569d4e5b9f93fea9;p=portage.git Inject EPREFIX in settings such that it becomes available to e.g. 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 --- diff --git a/pym/portage.py b/pym/portage.py index 852041e5b..b404aa41b 100644 --- a/pym/portage.py +++ b/pym/portage.py @@ -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: