summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2006-04-11 04:12:17 +0000
committerZac Medico <zmedico@gentoo.org>2006-04-11 04:12:17 +0000
commit10a15b0c45e9c6945b36c0d09d78edda059d4d72 (patch)
tree2215efe542220725fee280674be2a41849d32aca
parent134298cebf8b3822bc31a25d72fd8c6d0bbd10bc (diff)
downloadportage-10a15b0c45e9c6945b36c0d09d78edda059d4d72.tar.gz
portage-10a15b0c45e9c6945b36c0d09d78edda059d4d72.tar.bz2
portage-10a15b0c45e9c6945b36c0d09d78edda059d4d72.zip
Support EBUILD_PHASE during more phases for bug #129244.
svn path=/main/trunk/; revision=3126
-rw-r--r--pym/portage.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/pym/portage.py b/pym/portage.py
index 8ca53b742..0b815fed6 100644
--- a/pym/portage.py
+++ b/pym/portage.py
@@ -2247,6 +2247,8 @@ def doebuild_environment(myebuild, mydo, myroot, mysettings, debug, use_cache, t
mysettings.reset(use_cache=use_cache)
mysettings.setcpv(mycpv,use_cache=use_cache)
+ mysettings["EBUILD_PHASE"] = mydo
+
if debug: # Otherwise it overrides emerge's settings.
# We have no other way to set debug... debug can't be passed in
# due to how it's coded... Don't overwrite this so we can use it.