summaryrefslogtreecommitdiff
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 /bin/ebuild.sh
parentSilently omit info_pkgs that aren't installed. Thanks to solar. (diff)
downloadportage-multirepo-324debbbb0eaf0f271192a07bc53eb7d9d7f73ba.tar.gz
portage-multirepo-324debbbb0eaf0f271192a07bc53eb7d9d7f73ba.tar.bz2
portage-multirepo-324debbbb0eaf0f271192a07bc53eb7d9d7f73ba.zip
Enable RESTRICT=ccache. Thanks to drizzt for reporting.
svn path=/main/trunk/; revision=4920
Diffstat (limited to 'bin/ebuild.sh')
-rwxr-xr-xbin/ebuild.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh
index 9e96451f..9c1e3806 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.