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)