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,
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")