projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4dbb985
)
In doebuild(), don't call _check_temp_dir() for pseudo-phases such as
author
Zac Medico
<zmedico@gentoo.org>
Wed, 1 Sep 2010 09:32:28 +0000
(
02:32
-0700)
committer
Zac Medico
<zmedico@gentoo.org>
Wed, 1 Sep 2010 09:32:28 +0000
(
02:32
-0700)
'manifest' and 'digest' that don't require a temp dir.
pym/portage/package/ebuild/doebuild.py
patch
|
blob
|
history
diff --git
a/pym/portage/package/ebuild/doebuild.py
b/pym/portage/package/ebuild/doebuild.py
index cc1f60d861b2247c85815ac468f72a23a68909fa..39878b93251948d44a5ce881b1a6eb33f1a4c6f3 100644
(file)
--- a/
pym/portage/package/ebuild/doebuild.py
+++ b/
pym/portage/package/ebuild/doebuild.py
@@
-587,9
+587,11
@@
def doebuild(myebuild, mydo, myroot, mysettings, debug=0, listonly=0,
if rval != os.EX_OK:
return rval
- rval = _check_temp_dir(mysettings)
- if rval != os.EX_OK:
- return rval
+ if mydo not in ('digest', 'manifest') and \
+ mydo not in EbuildSpawnProcess._phases_without_builddir:
+ rval = _check_temp_dir(mysettings)
+ if rval != os.EX_OK:
+ return rval
if mydo == "unmerge":
return unmerge(mysettings["CATEGORY"],