Bug #206772 - Enable bashrc once again for the clean phase.
authorZac Medico <zmedico@gentoo.org>
Tue, 22 Jan 2008 22:14:24 +0000 (22:14 -0000)
committerZac Medico <zmedico@gentoo.org>
Tue, 22 Jan 2008 22:14:24 +0000 (22:14 -0000)
svn path=/main/trunk/; revision=9220

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}