From cfcbd3bc48d27637a150ed1c569d4e5b9f93fea9 Mon Sep 17 00:00:00 2001 From: Fabian Groffen Date: Sun, 5 Nov 2006 15:58:12 +0000 Subject: [PATCH] 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 --- pym/portage.py | 4 ++++ 1 file changed, 4 insertions(+) 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: -- 2.26.2