Remove redundant PORTAGE_BUILDDIR creation.
authorZac Medico <zmedico@gentoo.org>
Wed, 4 Oct 2006 06:10:02 +0000 (06:10 -0000)
committerZac Medico <zmedico@gentoo.org>
Wed, 4 Oct 2006 06:10:02 +0000 (06:10 -0000)
svn path=/main/trunk/; revision=4587

pym/portage.py

index 112cfbba85c3e06f76d98d2c4d4d8bee948d30e6..5e62caa2001dbdbf6e8494cd49843af242e01c38 100644 (file)
@@ -2892,12 +2892,6 @@ def doebuild(myebuild, mydo, myroot, mysettings, debug=0, listonly=0,
        try:
                # Build directory creation isn't required for any of these.
                if mydo not in ["fetch","digest","manifest"]:
-                       portage_util.ensure_dirs(mysettings["PORTAGE_BUILDDIR"], mode=0755)
-                       # userpriv support
-                       portage_util.apply_secpass_permissions(
-                               mysettings["PORTAGE_BUILDDIR"], uid=portage_uid)
-                       #builddir_lock = portage_locks.lockdir(
-                       #       mysettings["PORTAGE_BUILDDIR"])
                        mystatus = prepare_build_dirs(myroot, mysettings, cleanup)
                        if mystatus:
                                return mystatus