summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/portage/__init__.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py
index 2cf46461e..918040981 100644
--- a/pym/portage/__init__.py
+++ b/pym/portage/__init__.py
@@ -5430,7 +5430,8 @@ def doebuild(myebuild, mydo, myroot, mysettings, debug=0, listonly=0,
# Build directory creation isn't required for any of these.
have_build_dirs = False
- if mydo not in ("digest", "help", "manifest"):
+ if not (mydo in ("digest", "help", "manifest") or \
+ (mydo == "fetch" and listonly)):
mystatus = prepare_build_dirs(myroot, mysettings, cleanup)
if mystatus:
return mystatus