projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
97b3e8b
)
When creating the temporary $DISTDIR, do not try to set the uid since it
author
Zac Medico
<zmedico@gentoo.org>
Sat, 25 Oct 2008 18:20:16 +0000
(18:20 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Sat, 25 Oct 2008 18:20:16 +0000
(18:20 -0000)
will fail when not running as root.
svn path=/main/trunk/; revision=11725
pym/portage/__init__.py
patch
|
blob
|
history
diff --git
a/pym/portage/__init__.py
b/pym/portage/__init__.py
index 3ec0f08d704c41fb352a6d51d3ac0e022cdc21bd..cb3ebed4573c24385922290db55196c75156d13c 100644
(file)
--- a/
pym/portage/__init__.py
+++ b/
pym/portage/__init__.py
@@
-5656,7
+5656,7
@@
def doebuild(myebuild, mydo, myroot, mysettings, debug=0, listonly=0,
mysettings["PORTAGE_ACTUAL_DISTDIR"] = orig_distdir
edpath = mysettings["DISTDIR"] = \
os.path.join(mysettings["PORTAGE_BUILDDIR"], "distdir")
- portage.util.ensure_dirs(edpath,
uid=portage_u
id, mode=0755)
+ portage.util.ensure_dirs(edpath,
gid=portage_g
id, mode=0755)
# Remove any unexpected files or directories.
for x in os.listdir(edpath):