From 9a157081652c70bad841187daee7328007fdf99f Mon Sep 17 00:00:00 2001 From: rowanfr Date: Thu, 7 Sep 2023 23:29:00 -0500 Subject: [PATCH] Update sccache script to reflect tar internals --- scripts/install_sccache.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/install_sccache.sh b/scripts/install_sccache.sh index 9ddc5774a..84782e5b2 100755 --- a/scripts/install_sccache.sh +++ b/scripts/install_sccache.sh @@ -42,7 +42,8 @@ fi pushd ${WORK_DIR} curl -L "https://github.com/mozilla/sccache/releases/download/${VERSION}/$SCCACHE_VERSION.tar.gz" | tar -xvz -mv $SCCACHE_VERSION/sccache . +mv $SCCACHE_VERSION/sccache* . +# it is sccache-dist on linux and sccache on mac chmod +x ./sccache mv ./sccache $HOME/bin/