summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/_emerge/__init__.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py
index 47ad0c68e..0f1074daa 100644
--- a/pym/_emerge/__init__.py
+++ b/pym/_emerge/__init__.py
@@ -2471,6 +2471,8 @@ class EbuildBuild(CompositeTask):
return
if self._default_exit(fetcher) != os.EX_OK:
+ if fetcher.logfile is not None:
+ self.settings["PORTAGE_LOG_FILE"] = fetcher.logfile
self.wait()
return