From 82989f9c8aecadd3e7741850752a3a45f62c6b84 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sun, 7 Jul 2013 12:34:34 -0700 Subject: [PATCH] doebuild: handle tmpdir / returnpid interaction --- pym/portage/package/ebuild/doebuild.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pym/portage/package/ebuild/doebuild.py b/pym/portage/package/ebuild/doebuild.py index 1d44b93ab..edf3df6ab 100644 --- 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: -- 2.26.2