summaryrefslogtreecommitdiffstats
path: root/pym/portage/package/ebuild/doebuild.py
diff options
context:
space:
mode:
Diffstat (limited to 'pym/portage/package/ebuild/doebuild.py')
-rw-r--r--pym/portage/package/ebuild/doebuild.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage/package/ebuild/doebuild.py b/pym/portage/package/ebuild/doebuild.py
index 19997d785..61eea40ee 100644
--- a/pym/portage/package/ebuild/doebuild.py
+++ b/pym/portage/package/ebuild/doebuild.py
@@ -1173,7 +1173,7 @@ def spawn(mystring, mysettings, debug=0, free=0, droppriv=0, sesandbox=0, fakero
mysettings["PORTAGE_SANDBOX_T"])
phase = env.get('EBUILD_PHASE')
- if phase not in ('clean', 'cleanrm', 'depend', 'help',):
+ if phase not in EbuildSpawnProcess._phases_without_builddir:
# Don't try to unlink for phases that don't require
# PORTAGE_BUILDDIR, since the directory may not
# even belong to this process in that case.