diff options
Diffstat (limited to 'pym/portage/dbapi/vartree.py')
-rw-r--r-- | pym/portage/dbapi/vartree.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pym/portage/dbapi/vartree.py b/pym/portage/dbapi/vartree.py index 5971ca647..c103cbd8d 100644 --- a/pym/portage/dbapi/vartree.py +++ b/pym/portage/dbapi/vartree.py @@ -4349,7 +4349,10 @@ class dblink(object): # Process ebuild logfiles elog_process(self.mycpv, self.settings, phasefilter=filter_mergephases) - if retval == os.EX_OK and "noclean" not in self.settings.features: + if 'noclean' not in self.settings.features and \ + (retval == os.EX_OK or \ + ('fail-clean' in self.settings.features and \ + os.path.isdir(self.settings['PORTAGE_BUILDDIR']))): if myebuild is None: myebuild = os.path.join(inforoot, self.pkg + ".ebuild") |