summaryrefslogtreecommitdiffstats
path: root/pym/_emerge/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'pym/_emerge/__init__.py')
-rw-r--r--pym/_emerge/__init__.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py
index a401e7e09..19c86ff4e 100644
--- a/pym/_emerge/__init__.py
+++ b/pym/_emerge/__init__.py
@@ -2239,7 +2239,12 @@ class EbuildFetcher(SpawnProcess):
if self.fetchall:
phase = "fetchall"
- fetch_env = dict(settings.iteritems())
+ # If any incremental variables have been overridden
+ # via the environment, those values need to be passed
+ # along here so that they are correctly considered by
+ # the config instance in the subproccess.
+ fetch_env = os.environ.copy()
+
fetch_env["PORTAGE_NICENESS"] = "0"
if self.fetchonly:
fetch_env["PORTAGE_PARALLEL_FETCHONLY"] = "1"