From: Zac Medico Date: Fri, 3 Nov 2006 22:32:00 +0000 (-0000) Subject: Enable RESTRICT=ccache. Thanks to drizzt for reporting. X-Git-Tag: v2.1.2~512 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=324debbbb0eaf0f271192a07bc53eb7d9d7f73ba;p=portage.git Enable RESTRICT=ccache. Thanks to drizzt for reporting. svn path=/main/trunk/; revision=4920 --- 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.