diff options
author | Sebastian Luther <SebastianLuther@gmx.de> | 2010-04-06 18:58:06 +0200 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2010-04-06 10:09:57 -0700 |
commit | ce921f3ccba0cf1f1568b4a8ecc39a8b90f75349 (patch) | |
tree | dbd33fa2d81ab9334a75c35147a82e3c2c50fb94 | |
parent | 61b4b9854495e0b6c134a2087c86141f85af1add (diff) | |
download | portage-ce921f3ccba0cf1f1568b4a8ecc39a8b90f75349.tar.gz portage-ce921f3ccba0cf1f1568b4a8ecc39a8b90f75349.tar.bz2 portage-ce921f3ccba0cf1f1568b4a8ecc39a8b90f75349.zip |
Cleanup $T earlier to prevent old messages from being displayed - bug 279041
-rw-r--r-- | pym/_emerge/EbuildExecuter.py | 3 | ||||
-rw-r--r-- | pym/_emerge/EbuildFetcher.py | 4 |
2 files changed, 4 insertions, 3 deletions
diff --git a/pym/_emerge/EbuildExecuter.py b/pym/_emerge/EbuildExecuter.py index b9c87f082..adb91aa00 100644 --- a/pym/_emerge/EbuildExecuter.py +++ b/pym/_emerge/EbuildExecuter.py @@ -40,9 +40,8 @@ class EbuildExecuter(CompositeTask): pkg = self.pkg scheduler = self.scheduler settings = self.settings - cleanup = 1 + cleanup = 0 - # This initializes PORTAGE_LOG_FILE. portage.prepare_build_dirs(pkg.root, settings, cleanup) setup_phase = EbuildPhase(background=self.background, diff --git a/pym/_emerge/EbuildFetcher.py b/pym/_emerge/EbuildFetcher.py index e5d8bf4a8..5059e998b 100644 --- a/pym/_emerge/EbuildFetcher.py +++ b/pym/_emerge/EbuildFetcher.py @@ -42,7 +42,9 @@ class EbuildFetcher(SpawnProcess): self._build_dir = EbuildBuildDir(pkg=self.pkg, settings=settings) self._build_dir.lock() self._build_dir.clean_log() - portage.prepare_build_dirs(self.pkg.root, self._build_dir.settings, 0) + cleanup=1 + # This initializes PORTAGE_LOG_FILE. + portage.prepare_build_dirs(self.pkg.root, self._build_dir.settings, cleanup) if self.logfile is None: self.logfile = settings.get("PORTAGE_LOG_FILE") |