install-scripts/install-sccache.sh
2020-10-19 10:41:37 +00:00

8 lines
229 B
Bash

#!/bin/bash
set -eu
cd /tmp/
mkdir -p /tmp/sccache
lastversion mozilla/sccache --assets --filter linux -d
tar xvzf $(find . -name "sccache-*.tar.gz") --strip 1 -C /tmp/sccache
install -m 755 /tmp/sccache/sccache /usr/local/bin/