build: fix zig download tarball url
This commit is contained in:
parent
c8e49e9cb8
commit
458a5fe4cb
1 changed files with 1 additions and 4 deletions
5
zig
5
zig
|
@ -45,10 +45,7 @@ get_zig() {
|
|||
(
|
||||
mkdir -p "$ZIGDIR"
|
||||
cd "$ZIGDIR"
|
||||
TARBALL="https://ziglang.org/builds/$ZIGVER.tar.xz"
|
||||
if [ "$OS" == "freebsd" ]; then
|
||||
TARBALL="https://ziglang.org/download/$VERSION/$ZIGVER.tar.xz"
|
||||
fi
|
||||
TARBALL="https://ziglang.org/download/$VERSION/$ZIGVER.tar.xz"
|
||||
|
||||
if [ ! -d "$ZIGVER" ]; then
|
||||
curl "$TARBALL" | tar -xJ
|
||||
|
|
Loading…
Add table
Reference in a new issue