summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/portage/package/ebuild/doebuild.py8
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"],