summaryrefslogtreecommitdiffstats
path: root/bin/ebuild.sh
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-01-31 08:07:51 +0000
committerZac Medico <zmedico@gentoo.org>2008-01-31 08:07:51 +0000
commit9b4848b925380f17f4c18b65291127b4fc07460a (patch)
tree93be51ccd8bd922354ffac1792318e729dbbd30d /bin/ebuild.sh
parent71766d5ef79dcc9068cf7df8de30e34d83247158 (diff)
downloadportage-9b4848b925380f17f4c18b65291127b4fc07460a.tar.gz
portage-9b4848b925380f17f4c18b65291127b4fc07460a.tar.bz2
portage-9b4848b925380f17f4c18b65291127b4fc07460a.zip
Bug #206772 - Enable bashrc once again for the clean phase. (trunk r9220)
svn path=/main/branches/2.1.2/; revision=9246
Diffstat (limited to 'bin/ebuild.sh')
-rwxr-xr-xbin/ebuild.sh3
1 files changed, 3 insertions, 0 deletions
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}