From: Zac Medico Date: Tue, 22 Jan 2008 22:14:24 +0000 (-0000) Subject: Bug #206772 - Enable bashrc once again for the clean phase. X-Git-Tag: v2.2_pre1~42 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=fe45be2d003f7fd301a35ead61e988259c4a076c;p=portage.git Bug #206772 - Enable bashrc once again for the clean phase. svn path=/main/trunk/; revision=9220 --- diff --git a/bin/ebuild.sh b/bin/ebuild.sh index 1bcd02852..28ba561c4 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -1703,6 +1703,9 @@ if ! hasq ${EBUILD_PHASE} clean && \ set +f fi +# enable bashrc support for the clean phase +[[ ${EBUILD_PHASE} == clean ]] && source_all_bashrcs + # unset USE_EXPAND variables that contain only the special "*" token for x in ${USE_EXPAND} ; do [ "${!x}" == "*" ] && unset ${x}