summaryrefslogtreecommitdiffstats
path: root/pym/_emerge/MiscFunctionsProcess.py
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-08-22 15:25:17 -0700
committerZac Medico <zmedico@gentoo.org>2010-08-22 15:25:17 -0700
commit33755e00689f9c7e7d646495d1851408e9a34ff9 (patch)
tree397416376007adad1847aba0a087fba95d276c4f /pym/_emerge/MiscFunctionsProcess.py
parent177b719a112d2661b7d6da669625b8e61deb6062 (diff)
downloadportage-33755e00689f9c7e7d646495d1851408e9a34ff9.tar.gz
portage-33755e00689f9c7e7d646495d1851408e9a34ff9.tar.bz2
portage-33755e00689f9c7e7d646495d1851408e9a34ff9.zip
During the post src_install QA checks, log to a temporary file
since the code we are running reads PORTAGE_LOG_FILE, and we want to avoid annoying "gzip: unexpected end of file" messages when FEATURES=compress-build-logs is enabled.
Diffstat (limited to 'pym/_emerge/MiscFunctionsProcess.py')
-rw-r--r--pym/_emerge/MiscFunctionsProcess.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pym/_emerge/MiscFunctionsProcess.py b/pym/_emerge/MiscFunctionsProcess.py
index d7119037e..ad8cefcfd 100644
--- a/pym/_emerge/MiscFunctionsProcess.py
+++ b/pym/_emerge/MiscFunctionsProcess.py
@@ -22,7 +22,8 @@ class MiscFunctionsProcess(AbstractEbuildProcess):
os.path.basename(portage.const.MISC_SH_BINARY))
self.args = [portage._shell_quote(misc_sh_binary)] + self.commands
- self.logfile = settings.get("PORTAGE_LOG_FILE")
+ if self.logfile is None:
+ self.logfile = settings.get("PORTAGE_LOG_FILE")
AbstractEbuildProcess._start(self)