use $CCACHE instead of hardcoded 'ccache'
Change-Id: I0083b4478902a09661fd2743c58369d85325e1a5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126893 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
This commit is contained in:
@@ -3131,7 +3131,7 @@ AC_SUBST(CCACHE_DEPEND_MODE)
|
||||
if test "$CCACHE" != "" -a -z "$SCCACHE"; then
|
||||
# e.g. (/home/rene/.config/ccache/ccache.conf) max_size = 20.0G
|
||||
# -p works with both 4.2 and 4.4
|
||||
ccache_size_msg=$([ccache -p | $AWK /max_size/'{ print $4 }' | sed -e 's/\.[0-9]*//'])
|
||||
ccache_size_msg=$([$CCACHE -p | $AWK /max_size/'{ print $4 }' | sed -e 's/\.[0-9]*//'])
|
||||
ccache_size=$(echo "$ccache_size_msg" | grep "G" | sed -e 's/G.*$//')
|
||||
if test "$ccache_size" = ""; then
|
||||
ccache_size=$(echo "$ccache_size_msg" | grep "M" | sed -e 's/\ M.*$//')
|
||||
|
Reference in New Issue
Block a user