diff options
-rw-r--r-- | pym/portage.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pym/portage.py b/pym/portage.py index abcb10aca..d9bcc0239 100644 --- a/pym/portage.py +++ b/pym/portage.py @@ -2556,7 +2556,7 @@ def doebuild(myebuild,mydo,myroot,mysettings,debug=0,listonly=0,fetchonly=0,clea # Should be ok again to set $T, as sandbox does not depend on it # XXX Bug. no way in hell this is valid for clean handling. mysettings["T"]=mysettings["PORTAGE_BUILDDIR"]+"/temp" - if cleanup or mydo=="clean": + if cleanup: if os.path.exists(mysettings["T"]): shutil.rmtree(mysettings["T"]) if not os.path.exists(mysettings["T"]): @@ -6099,7 +6099,7 @@ class dblink: # Process ebuild logfiles elog_process(self.mycpv, self.settings) if "noclean" not in features: - doebuild(myebuild, "clean", root, self.settings, cleanup=cleanup, tree=self.treetype) + doebuild(myebuild, "clean", root, self.settings, tree=self.treetype) return 0 def mergeme(self,srcroot,destroot,outfile,secondhand,stufftomerge,cfgfiledict,thismtime): |