summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-11-26 22:05:50 +0000
committerZac Medico <zmedico@gentoo.org>2007-11-26 22:05:50 +0000
commit304b7c2d14f82c9629f76117335a48e33a234dad (patch)
treeef484f42118036b31e83eb5c4315d02eab7a0992
parent67e949d7f84cf5600a33c7682fba74eb741423eb (diff)
downloadportage-304b7c2d14f82c9629f76117335a48e33a234dad.tar.gz
portage-304b7c2d14f82c9629f76117335a48e33a234dad.tar.bz2
portage-304b7c2d14f82c9629f76117335a48e33a234dad.zip
Make doebuild skip directory creation for the "cleanrm" command. (trunk r8696)
svn path=/main/branches/2.1.2/; revision=8697
-rw-r--r--pym/portage.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pym/portage.py b/pym/portage.py
index 52e2d4659..21d59e4b8 100644
--- a/pym/portage.py
+++ b/pym/portage.py
@@ -4226,7 +4226,8 @@ def doebuild(myebuild, mydo, myroot, mysettings, debug=0, listonly=0,
# Build directory creation isn't required for any of these.
have_build_dirs = False
- if mydo not in ("clean", "digest", "fetch", "help", "manifest"):
+ if mydo not in ("clean", "cleanrm", "digest",
+ "fetch", "help", "manifest"):
mystatus = prepare_build_dirs(myroot, mysettings, cleanup)
if mystatus:
return mystatus