🔧 Generate scripts with cmake
This commit is contained in:
7
templates/install-sccache.sh.in
Normal file
7
templates/install-sccache.sh.in
Normal file
@ -0,0 +1,7 @@
|
||||
#!/bin/bash
|
||||
set -eu
|
||||
|
||||
mkdir -p /tmp/sccache
|
||||
wget "https://github.com/mozilla/sccache/releases/download/@VERSION@/sccache-@VERSION@-x86_64-unknown-linux-musl.tar.gz" -nv -O /tmp/sccache.tar.gz
|
||||
tar xvzf /tmp/sccache.tar.gz --strip 1 -C /tmp/sccache
|
||||
install -m 755 /tmp/sccache/sccache /usr/local/bin/
|
Reference in New Issue
Block a user