public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] portage r11726 - main/trunk/bin
@ 2008-10-26  7:55 Zac Medico (zmedico)
  0 siblings, 0 replies; only message in thread
From: Zac Medico (zmedico) @ 2008-10-26  7:55 UTC (permalink / raw
  To: gentoo-commits

Author: zmedico
Date: 2008-10-26 07:55:41 +0000 (Sun, 26 Oct 2008)
New Revision: 11726

Modified:
   main/trunk/bin/ebuild.sh
Log:
Enable bashrc even when $EBUILD_PHASE is unset, so it's possible to override
things like INSTALL_MASK.


Modified: main/trunk/bin/ebuild.sh
===================================================================
--- main/trunk/bin/ebuild.sh	2008-10-25 18:20:16 UTC (rev 11725)
+++ main/trunk/bin/ebuild.sh	2008-10-26 07:55:41 UTC (rev 11726)
@@ -1525,10 +1525,9 @@
 #    function for the current phase.
 #
 source_all_bashrcs() {
-	[ -n "$EBUILD_PHASE" ] || return
 	local x
 
-	if [[ -n $EAPI ]] ; then
+	if [[ -n $EBUILD_PHASE && -n $EAPI ]] ; then
 		local phase_func=$(_ebuild_arg_to_phase "$EAPI" $EBUILD_PHASE)
 		[[ -n $phase_func ]] && _ebuild_phase_funcs "$EAPI" $phase_func
 	fi




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-10-26  8:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-26  7:55 [gentoo-commits] portage r11726 - main/trunk/bin Zac Medico (zmedico)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox