Make sure that PORTAGE_BUILDDIR exists before attempting to lock it. Depending on...
authorZac Medico <zmedico@gentoo.org>
Fri, 21 Jul 2006 22:31:43 +0000 (22:31 -0000)
committerZac Medico <zmedico@gentoo.org>
Fri, 21 Jul 2006 22:31:43 +0000 (22:31 -0000)
svn path=/main/trunk/; revision=3985

pym/portage.py

index fb5bf2c09b90a19199050680f84890746f41028a..447f25c0a6ff5cbe7b6c2a34ff17128016ba2eed 100644 (file)
@@ -2657,8 +2657,8 @@ 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["BUILD_PREFIX"], gid=portage_gid, mode=070, mask=02)
+                       portage_util.ensure_dirs(mysettings["PORTAGE_BUILDDIR"],
+                               gid=portage_gid, mode=070, mask=02)
                        builddir_lock = portage_locks.lockdir(
                                mysettings["PORTAGE_BUILDDIR"])
                        mystatus = prepare_build_dirs(myroot, mysettings, cleanup)