Make doebuild skip directory creation for the "cleanrm" command. (trunk r8696)
authorZac Medico <zmedico@gentoo.org>
Mon, 26 Nov 2007 22:05:50 +0000 (22:05 -0000)
committerZac Medico <zmedico@gentoo.org>
Mon, 26 Nov 2007 22:05:50 +0000 (22:05 -0000)
svn path=/main/branches/2.1.2/; revision=8697

pym/portage.py

index 52e2d46590690188e4ae56a7228b2b915113c6e4..21d59e4b8fa551288218235cff563fc430d5d100 100644 (file)
@@ -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