From 3a3f4072ac2b6e8ce84bede2c77f9e12b039a0ce Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 10 Sep 2010 18:52:56 -0700 Subject: [PATCH] In doebuild(), don't trigger prepare_build_dirs() for the fetch phase with RESTRICT=fetch since fetch() doesn't call pkg_nofetch anymore. --- pym/portage/package/ebuild/doebuild.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 -- 2.26.2