From 324debbbb0eaf0f271192a07bc53eb7d9d7f73ba Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 3 Nov 2006 22:32:00 +0000 Subject: Enable RESTRICT=ccache. Thanks to drizzt for reporting. svn path=/main/trunk/; revision=4920 --- bin/ebuild.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- cgit v1.2.3-1-g7c22