diff options
author | Zac Medico <zmedico@gentoo.org> | 2010-09-01 02:32:28 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2010-09-01 02:32:28 -0700 |
commit | fc82f9be972fb9f8e25456764c04872c32ec97ad (patch) | |
tree | 9226c92273b4915a281f6b5c3c4b8f50b9f82914 | |
parent | 4dbb985f80ca6c175975579e7e5073e500f350a8 (diff) | |
download | portage-fc82f9be972fb9f8e25456764c04872c32ec97ad.tar.gz portage-fc82f9be972fb9f8e25456764c04872c32ec97ad.tar.bz2 portage-fc82f9be972fb9f8e25456764c04872c32ec97ad.zip |
In doebuild(), don't call _check_temp_dir() for pseudo-phases such as
'manifest' and 'digest' that don't require a temp dir.
-rw-r--r-- | pym/portage/package/ebuild/doebuild.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/pym/portage/package/ebuild/doebuild.py b/pym/portage/package/ebuild/doebuild.py index cc1f60d86..39878b932 100644 --- a/pym/portage/package/ebuild/doebuild.py +++ b/pym/portage/package/ebuild/doebuild.py @@ -587,9 +587,11 @@ def doebuild(myebuild, mydo, myroot, mysettings, debug=0, listonly=0, if rval != os.EX_OK: return rval - rval = _check_temp_dir(mysettings) - if rval != os.EX_OK: - return rval + if mydo not in ('digest', 'manifest') and \ + mydo not in EbuildSpawnProcess._phases_without_builddir: + rval = _check_temp_dir(mysettings) + if rval != os.EX_OK: + return rval if mydo == "unmerge": return unmerge(mysettings["CATEGORY"], |