From 35c40b40b884b65ea497dc595a7a5dfa15e41a71 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sat, 11 Mar 2006 19:24:32 +0000 Subject: Make the clean phase obey keeptemp in FEATURES. svn path=/main/trunk/; revision=2854 --- pym/portage.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pym/portage.py') 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): -- cgit v1.2.3-1-g7c22