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

pym/portage/__init__.py

index ae30ae3696d26c586f2e4c3bb7fa8793ee24c331..b6bb08d8ee720f366725eea8e1c07e1133e8929c 100644 (file)
@@ -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