diff options
author | Zac Medico <zmedico@gentoo.org> | 2013-07-07 12:34:34 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2013-07-07 12:34:34 -0700 |
commit | 82989f9c8aecadd3e7741850752a3a45f62c6b84 (patch) | |
tree | 16bf973ee39357d6ee0e8dc53e6884a618c6c7e8 | |
parent | calc_depclean: use runtime_slot_op priorities (diff) | |
download | portage-82989f9c8aecadd3e7741850752a3a45f62c6b84.tar.gz portage-82989f9c8aecadd3e7741850752a3a45f62c6b84.tar.bz2 portage-82989f9c8aecadd3e7741850752a3a45f62c6b84.zip |
doebuild: handle tmpdir / returnpid interaction
-rw-r--r-- | pym/portage/package/ebuild/doebuild.py | 6 |
1 files 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: |