summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-01-22 22:14:24 +0000
committerZac Medico <zmedico@gentoo.org>2008-01-22 22:14:24 +0000
commitfe45be2d003f7fd301a35ead61e988259c4a076c (patch)
tree8a4df8ebf3d3e0a98d571ed9f7d36a011d7dd10c
parentfcf842b1038a040eff86a06d54722700f0c57c9b (diff)
downloadportage-fe45be2d003f7fd301a35ead61e988259c4a076c.tar.gz
portage-fe45be2d003f7fd301a35ead61e988259c4a076c.tar.bz2
portage-fe45be2d003f7fd301a35ead61e988259c4a076c.zip
Bug #206772 - Enable bashrc once again for the clean phase.
svn path=/main/trunk/; revision=9220
-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}