Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 203239
Collapse All | Expand All

(-)bin/ebuild.sh (-4 / +4 lines)
Lines 1602-1610 Link Here
1602
	unset BIN_PATH BIN BODY FUNC_SRC
1602
	unset BIN_PATH BIN BODY FUNC_SRC
1603
fi
1603
fi
1604
1604
1605
if hasq ${EBUILD_SH_ARGS} clean ; then
1605
if ! hasq ${EBUILD_PHASE} clean depend && \
1606
	true
1606
	[ -f "${T}"/environment ] ; then
1607
elif ! hasq ${EBUILD_PHASE} depend && [ -f "${T}"/environment ] ; then
1608
	# The environment may have been extracted from environment.bz2 or
1607
	# The environment may have been extracted from environment.bz2 or
1609
	# may have come from another version of ebuild.sh or something.
1608
	# may have come from another version of ebuild.sh or something.
1610
	# In any case, preprocess it to prevent any potential interference.
1609
	# In any case, preprocess it to prevent any potential interference.
Lines 1635-1642 Link Here
1635
	export SANDBOX_ON=${PORTAGE_SANDBOX_ON}
1634
	export SANDBOX_ON=${PORTAGE_SANDBOX_ON}
1636
	unset PORTAGE_SANDBOX_ON
1635
	unset PORTAGE_SANDBOX_ON
1637
	source_all_bashrcs
1636
	source_all_bashrcs
1638
else
1639
1637
1638
if ! hasq ${EBUILD_PHASE} clean && \
1639
	( [ ! -f "${T}"/environment ] || hasq noauto ${FEATURES} ) ; then
1640
	# The bashrcs get an opportunity here to set aliases that will be expanded
1640
	# The bashrcs get an opportunity here to set aliases that will be expanded
1641
	# during sourcing of ebuilds and eclasses.
1641
	# during sourcing of ebuilds and eclasses.
1642
	source_all_bashrcs
1642
	source_all_bashrcs

Return to bug 203239