summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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.