configure.ac |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit fa91a519c002442a369ffb1ff8b35cd5297d1dbc
Author:     Luboš Luňák <l.lu...@collabora.com>
AuthorDate: Wed Dec 15 20:07:10 2021 +0100
Commit:     Luboš Luňák <l.lu...@collabora.com>
CommitDate: Wed Dec 15 22:29:42 2021 +0100

    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.lu...@collabora.com>

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.*$//')

Reply via email to