summaryrefslogtreecommitdiffstats
path: root/pym
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-11-26 22:05:10 +0000
committerZac Medico <zmedico@gentoo.org>2007-11-26 22:05:10 +0000
commit47ed5d9b291899a591a3d44240b76f5590220ded (patch)
tree4f0da39fa3776dc0b57fe57464f0d90eed072104 /pym
parenta52d42658bbee3b90034ccb66ef35a727eae98e0 (diff)
downloadportage-47ed5d9b291899a591a3d44240b76f5590220ded.tar.gz
portage-47ed5d9b291899a591a3d44240b76f5590220ded.tar.bz2
portage-47ed5d9b291899a591a3d44240b76f5590220ded.zip
Make doebuild skip directory creation for the "cleanrm" command.
svn path=/main/trunk/; revision=8696
Diffstat (limited to 'pym')
-rw-r--r--pym/portage/__init__.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py
index ae30ae369..b6bb08d8e 100644
--- a/pym/portage/__init__.py
+++ b/pym/portage/__init__.py
@@ -4267,7 +4267,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