From 70b194d9d7d131b20dc2707b026a23b4f80cf431 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Mon, 6 Oct 2008 20:51:23 +0000 Subject: In doebuild(), don't create build dirs when "listonly" fetch mode. svn path=/main/trunk/; revision=11643 --- pym/portage/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'pym') 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 -- cgit v1.2.3-1-g7c22