Bug #206772 - Enable bashrc once again for the clean phase. (trunk r9220)
authorZac Medico <zmedico@gentoo.org>
Thu, 31 Jan 2008 08:07:51 +0000 (08:07 -0000)
committerZac Medico <zmedico@gentoo.org>
Thu, 31 Jan 2008 08:07:51 +0000 (08:07 -0000)
svn path=/main/branches/2.1.2/; revision=9246

bin/ebuild.sh

index 1bcd02852e536e5f585646be965eeced44e4e335..28ba561c4fae6f8b594aacde046a874b6ef39780 100755 (executable)
@@ -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}