Make sure the fetcher process correctly inherits PORTAGE_CONFIGROOT.
authorZac Medico <zmedico@gentoo.org>
Tue, 2 Mar 2010 20:05:48 +0000 (20:05 -0000)
committerZac Medico <zmedico@gentoo.org>
Tue, 2 Mar 2010 20:05:48 +0000 (20:05 -0000)
(trunk r15313)

svn path=/main/branches/2.1.7/; revision=15548

pym/_emerge/EbuildFetcher.py

index bc443dda200aa33822f1e83b27f67328d6f94ec4..acb5ead4a68b3c2f74102a63ad5bd07ab17121ad 100644 (file)
@@ -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: