Gentoo Archives: gentoo-commits

From: "Zac Medico (zmedico)" <zmedico@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] portage r11643 - main/trunk/pym/portage
Date: Mon, 06 Oct 2008 20:51:27
Message-Id: E1Kmx36-0000bh-4f@stork.gentoo.org
1 Author: zmedico
2 Date: 2008-10-06 20:51:23 +0000 (Mon, 06 Oct 2008)
3 New Revision: 11643
4
5 Modified:
6 main/trunk/pym/portage/__init__.py
7 Log:
8 In doebuild(), don't create build dirs when "listonly" fetch mode.
9
10
11 Modified: main/trunk/pym/portage/__init__.py
12 ===================================================================
13 --- main/trunk/pym/portage/__init__.py 2008-10-06 20:12:20 UTC (rev 11642)
14 +++ main/trunk/pym/portage/__init__.py 2008-10-06 20:51:23 UTC (rev 11643)
15 @@ -5430,7 +5430,8 @@
16
17 # Build directory creation isn't required for any of these.
18 have_build_dirs = False
19 - if mydo not in ("digest", "help", "manifest"):
20 + if not (mydo in ("digest", "help", "manifest") or \
21 + (mydo == "fetch" and listonly)):
22 mystatus = prepare_build_dirs(myroot, mysettings, cleanup)
23 if mystatus:
24 return mystatus