summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2006-07-19 01:13:52 +0000
committerZac Medico <zmedico@gentoo.org>2006-07-19 01:13:52 +0000
commitb597e4777e23dcf7f2a0b2974a89302bec6b9b7b (patch)
tree7ce6e0ea50d17e1e5c00d27f763f236df271dffc
parentda5cbb83e107623fc7d8a5887c9b9e1ae85b36ff (diff)
downloadportage-b597e4777e23dcf7f2a0b2974a89302bec6b9b7b.tar.gz
portage-b597e4777e23dcf7f2a0b2974a89302bec6b9b7b.tar.bz2
portage-b597e4777e23dcf7f2a0b2974a89302bec6b9b7b.zip
Use the portage gid for BUILD_PREFIX.
svn path=/main/trunk/; revision=3922
-rw-r--r--pym/portage.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage.py b/pym/portage.py
index 4338d6e57..b4c648cf6 100644
--- a/pym/portage.py
+++ b/pym/portage.py
@@ -2739,7 +2739,7 @@ def doebuild(myebuild, mydo, myroot, mysettings, debug=0, listonly=0,
# Build directory creation isn't required for any of these.
if mydo not in ["fetch","digest","manifest"]:
portage_util.ensure_dirs(
- mysettings["BUILD_PREFIX"], mode=070, mask=02)
+ mysettings["BUILD_PREFIX"], gid=portage_gid, mode=070, mask=02)
builddir_lock = portage_locks.lockdir(
mysettings["PORTAGE_BUILDDIR"])
mystatus = prepare_build_dirs(myroot, mysettings, cleanup)