From: Zac Medico Date: Sat, 11 Sep 2010 01:52:56 +0000 (-0700) Subject: In doebuild(), don't trigger prepare_build_dirs() for the fetch phase X-Git-Tag: v2.2_rc80~9 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=3a3f4072ac2b6e8ce84bede2c77f9e12b039a0ce;p=portage.git In doebuild(), don't trigger prepare_build_dirs() for the fetch phase with RESTRICT=fetch since fetch() doesn't call pkg_nofetch anymore. --- diff --git a/pym/portage/package/ebuild/doebuild.py b/pym/portage/package/ebuild/doebuild.py index 696b65eb7..6518008f0 100644 --- a/pym/portage/package/ebuild/doebuild.py +++ b/pym/portage/package/ebuild/doebuild.py @@ -614,8 +614,7 @@ def doebuild(myebuild, mydo, myroot, mysettings, debug=0, listonly=0, # when pkg_nofetch is spawned. have_build_dirs = False if not parallel_fetchonly and \ - mydo not in ('digest', 'help', 'manifest') and \ - not (mydo == 'fetch' and 'fetch' not in restrict): + mydo not in ('digest', 'fetch', 'help', 'manifest'): mystatus = prepare_build_dirs(myroot, mysettings, cleanup) if mystatus: return mystatus