summaryrefslogtreecommitdiffstats
path: root/pym/portage.py
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2006-03-11 19:24:32 +0000
committerZac Medico <zmedico@gentoo.org>2006-03-11 19:24:32 +0000
commit35c40b40b884b65ea497dc595a7a5dfa15e41a71 (patch)
tree5f96990472d04f24ed8b014fd5d5badaf76e681e /pym/portage.py
parent3f7838da7e9f74fd3c17bafcfd322808cc75ec9d (diff)
downloadportage-35c40b40b884b65ea497dc595a7a5dfa15e41a71.tar.gz
portage-35c40b40b884b65ea497dc595a7a5dfa15e41a71.tar.bz2
portage-35c40b40b884b65ea497dc595a7a5dfa15e41a71.zip
Make the clean phase obey keeptemp in FEATURES.
svn path=/main/trunk/; revision=2854
Diffstat (limited to 'pym/portage.py')
-rw-r--r--pym/portage.py4
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):