summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/_emerge/EbuildFetcher.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/pym/_emerge/EbuildFetcher.py b/pym/_emerge/EbuildFetcher.py
index 87c82db58..191d56ee7 100644
--- a/pym/_emerge/EbuildFetcher.py
+++ b/pym/_emerge/EbuildFetcher.py
@@ -66,6 +66,7 @@ class EbuildFetcher(SpawnProcess):
nocolor = settings.get("NOCOLOR")
if self.prefetch:
+ fetch_env["PORTAGE_PARALLEL_FETCHONLY"] = "1"
# prefetch always outputs to a log, so
# always disable color
nocolor = "true"
@@ -74,8 +75,6 @@ class EbuildFetcher(SpawnProcess):
fetch_env["NOCOLOR"] = nocolor
fetch_env["PORTAGE_NICENESS"] = "0"
- if self.prefetch:
- fetch_env["PORTAGE_PARALLEL_FETCHONLY"] = "1"
ebuild_binary = os.path.join(
settings["PORTAGE_BIN_PATH"], "ebuild")