Enable RESTRICT=ccache. Thanks to drizzt for reporting.
authorZac Medico <zmedico@gentoo.org>
Fri, 3 Nov 2006 22:32:00 +0000 (22:32 -0000)
committerZac Medico <zmedico@gentoo.org>
Fri, 3 Nov 2006 22:32:00 +0000 (22:32 -0000)
svn path=/main/trunk/; revision=4920

bin/ebuild.sh

index 9e96451ff9d09804f93966a6a95e00035546e726..9c1e3806ec906a448e012479bc4326b026bc0639 100755 (executable)
@@ -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.