summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2006-11-03 22:32:00 +0000
committerZac Medico <zmedico@gentoo.org>2006-11-03 22:32:00 +0000
commit324debbbb0eaf0f271192a07bc53eb7d9d7f73ba (patch)
tree6ddd95438731d33e257e782d372e4a4b237ef6ad
parent89fc913fe1210ba8c110c2841f0c50547579c17a (diff)
downloadportage-324debbbb0eaf0f271192a07bc53eb7d9d7f73ba.tar.gz
portage-324debbbb0eaf0f271192a07bc53eb7d9d7f73ba.tar.bz2
portage-324debbbb0eaf0f271192a07bc53eb7d9d7f73ba.zip
Enable RESTRICT=ccache. Thanks to drizzt for reporting.
svn path=/main/trunk/; revision=4920
-rwxr-xr-xbin/ebuild.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh
index 9e96451ff..9c1e3806e 100755
--- a/bin/ebuild.sh
+++ b/bin/ebuild.sh
@@ -1378,7 +1378,7 @@ if [[ ${EBUILD_SH_ARGS} != "depend" ]] && [[ ${EBUILD_SH_ARGS} != "clean" ]] &&
fi
fi
- if hasq ccache ${FEATURES} &>/dev/null; then
+ if hasq ccache ${FEATURES} && ! hasq ccache ${PORTAGE_RESTRICT} ; then
#We can enable compiler cache support
if [ -z "${PATH/*ccache*/}" ]; then
# Remove the other reference.