authorgravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2021-02-01 08:57:48 -08:00
committergravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2021-02-01 08:57:48 -08:00
logc39d45ad74461ada6e4d58ab4f7c251dd38320dd
tree094bd438bb24c70084dd4b55357a40af9c00c54d
parent2b50d632be44108a0b994500070d8ae7c9271765

download_zig- fix fetch location for master builds


1 files changed, 7 insertions(+), 1 deletions(-)

download_zig.sh+7-1
......@@ -11,6 +11,12 @@ dir="zig-$os-$arch-$version"
1111file="$dir.tar.xz"
1212
1313cd /
14wget https://ziglang.org/download/$version/$file
1514tar -xf $file
1615ln -s /$dir/zig /usr/local/bin
16
17if [[ $1 == *"dev"* ]]; then
18 wget https://ziglang.org/builds/$file
19else
20 wget https://ziglang.org/download/$version/$file
21fi
22