From: Zac Medico <zmedico@gentoo.org>
Date: Mon, 1 Feb 2010 23:57:55 +0000 (-0000)
Subject: Make sure the fetcher process correctly inherits PORTAGE_CONFIGROOT.
X-Git-Tag: v2.2_rc63~83
X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=602453b39853c587adc0b9373e46e069b2f12dbf;p=portage.git

Make sure the fetcher process correctly inherits PORTAGE_CONFIGROOT.

svn path=/main/trunk/; revision=15313
---

diff --git a/pym/_emerge/EbuildFetcher.py b/pym/_emerge/EbuildFetcher.py
index bc443dda2..acb5ead4a 100644
--- a/pym/_emerge/EbuildFetcher.py
+++ b/pym/_emerge/EbuildFetcher.py
@@ -55,6 +55,7 @@ class EbuildFetcher(SpawnProcess):
 		# along here so that they are correctly considered by
 		# the config instance in the subproccess.
 		fetch_env = os.environ.copy()
+		fetch_env['PORTAGE_CONFIGROOT'] = settings['PORTAGE_CONFIGROOT']
 
 		nocolor = settings.get("NOCOLOR")
 		if nocolor is not None: