Make sure the fetcher process correctly inherits PORTAGE_CONFIGROOT.
authorZac Medico <zmedico@gentoo.org>
Mon, 1 Feb 2010 23:57:55 +0000 (23:57 -0000)
committerZac Medico <zmedico@gentoo.org>
Mon, 1 Feb 2010 23:57:55 +0000 (23:57 -0000)
svn path=/main/trunk/; revision=15313

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: