From: Zac Medico Date: Mon, 6 Oct 2008 20:51:23 +0000 (-0000) Subject: In doebuild(), don't create build dirs when "listonly" fetch mode. X-Git-Tag: v2.2_rc12~22 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=70b194d9d7d131b20dc2707b026a23b4f80cf431;p=portage.git In doebuild(), don't create build dirs when "listonly" fetch mode. svn path=/main/trunk/; revision=11643 --- 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