From fa91a519c002442a369ffb1ff8b35cd5297d1dbc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubo=C5=A1=20Lu=C5=88=C3=A1k?= Date: Wed, 15 Dec 2021 20:07:10 +0100 Subject: [PATCH] use $CCACHE instead of hardcoded 'ccache' MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I0083b4478902a09661fd2743c58369d85325e1a5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126893 Tested-by: Jenkins Reviewed-by: Luboš Luňák --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 6bc4deb0479c..91905c22a74a 100644 --- a/configure.ac +++ b/configure.ac @@ -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.*$//')