projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
328ee45
)
doebuild: handle tmpdir / returnpid interaction
author
Zac Medico
<zmedico@gentoo.org>
Sun, 7 Jul 2013 19:34:34 +0000
(12:34 -0700)
committer
Zac Medico
<zmedico@gentoo.org>
Sun, 7 Jul 2013 19:34:34 +0000
(12:34 -0700)
pym/portage/package/ebuild/doebuild.py
patch
|
blob
|
history
diff --git
a/pym/portage/package/ebuild/doebuild.py
b/pym/portage/package/ebuild/doebuild.py
index 1d44b93ab186a1278c599c3a87b878ad60d3371c..edf3df6abbe12c676dd35d42a50d26f5bf2f2251 100644
(file)
--- a/
pym/portage/package/ebuild/doebuild.py
+++ b/
pym/portage/package/ebuild/doebuild.py
@@
-762,9
+762,9
@@
def doebuild(myebuild, mydo, _unused=DeprecationWarning, settings=None, debug=0,
if "noauto" in mysettings.features:
mysettings.features.discard("noauto")
- #
The info phase is special because it uses mkdtemp so and
- #
user (not necessarily in the portage group) can run it
.
- if
mydo not in ('info',)
and \
+ #
If we are not using a private temp dir, then check access
+ #
to the global temp dir
.
+ if
tmpdir is None
and \
mydo not in _doebuild_commands_without_builddir:
rval = _check_temp_dir(mysettings)
if rval != os.EX_OK: