File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change
1
+ .git
2
+ target
Original file line number Diff line number Diff line change @@ -8,12 +8,13 @@ SHA="26fd04c1273952cc2a0f359a71c8a1857137f0ee3634058b3f4a63b69fc8eb7f"
8
8
DL_URL=" https://github.com/mozilla/sccache/releases/download"
9
9
BIN_DIR=/usr/local/bin
10
10
TEMP_DIR=$( mktemp -d)
11
+ TAR_NAME=" sccache-${VERSION} -${TARGET} .tar.gz"
11
12
12
13
cd " ${TEMP_DIR} "
13
14
mkdir -p " ${BIN_DIR} "
14
15
15
- curl -sSL -O " ${DL_URL} /${VERSION} /sccache- ${VERSION} - ${TARGET} .tar.gz "
16
- echo " ${SHA} sccache- ${VERSION} - ${TARGET} .tar.gz " | sha256sum --check -
17
- tar -xzf - --strip-components 1
16
+ curl -sSL -O " ${DL_URL} /${VERSION} /${TAR_NAME} "
17
+ echo " ${SHA} ${TAR_NAME} " | sha256sum --check -
18
+ tar -xzf " ${TAR_NAME} " --strip-components 1
18
19
cp sccache " ${BIN_DIR} /sccache"
19
20
chmod +x " ${BIN_DIR} /sccache"
You can’t perform that action at this time.
0 commit comments