projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a011c5e
)
In doebuild(), don't create build dirs when "listonly" fetch mode.
author
Zac Medico
<zmedico@gentoo.org>
Mon, 6 Oct 2008 20:51:23 +0000
(20:51 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Mon, 6 Oct 2008 20:51:23 +0000
(20:51 -0000)
svn path=/main/trunk/; revision=11643
pym/portage/__init__.py
patch
|
blob
|
history
diff --git
a/pym/portage/__init__.py
b/pym/portage/__init__.py
index 2cf46461eb0a817ee03752e428c07aaf6238b031..91804098138fbfcffbc248448d46f4a1a61d3f1d 100644
(file)
--- 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