summaryrefslogtreecommitdiff
path: root/devel/ccache/files/world-ccache.in
blob: 9803d12b829859e0df31b1dc85af133d678c9fa0 (plain) (blame)
1
2
3
4
5
6
7
8
9
#!/bin/sh

[ "${0##*/}" = "ccache" ] &&
    printf "Please, use one of the compiler links in\n%%PREFIX%%/%%CCLINKDIR%%/world\nto invoke ccache\n" >&2 &&
    exit 1

unset CCACHE_PATH
export CCACHE_COMPILERCHECK=content
exec %%PREFIX%%/%%CCLINKDIR%%/${0##*/} "$@"