Skip to content

Commit d5aa81a

Browse files
authored
Fix up Wild package name and decompression (#38961)
Wild changed in 0.6.0 to using gzip rather than xz, and changed the format of the package name. Follows on from and fixes #37717 cc @dvdsk @mati865 Release Notes: - N/A
1 parent 21855c1 commit d5aa81a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

script/install-wild

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ if [ "$(whoami)" = root ]; then SUDO=; else SUDO="$(command -v sudo || command -
2020

2121
ARCH="$(uname -m)"
2222
WILD_REPO="${WILD_REPO:-https://github.com/davidlattimore/wild}"
23-
WILD_PACKAGE="wild-linker-${ARCH}-unknown-linux-gnu"
23+
WILD_PACKAGE="wild-linker-${WILD_VERSION}-${ARCH}-unknown-linux-gnu"
2424
WILD_URL="${WILD_URL:-$WILD_REPO}/releases/download/$WILD_VERSION/${WILD_PACKAGE}.tar.gz"
2525

2626
echo "Downloading from $WILD_URL"
2727
curl -fsSL --output - "$WILD_URL" \
28-
| $SUDO tar -C /usr/local/bin --strip-components=1 --no-overwrite-dir -xJf - \
29-
"wild-linker-${ARCH}-unknown-linux-gnu/wild"
28+
| $SUDO tar -C /usr/local/bin --strip-components=1 --no-overwrite-dir -xzf - \
29+
"${WILD_PACKAGE}/wild"

0 commit comments

Comments
 (0)