authorgravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2021-02-01 08:58:17 -08:00
committergravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2021-02-01 08:58:17 -08:00
logb0dcfe25f8e1be5fd34c53776e7ad35fc5cc0ea9
tree779b90827bfa504c5d42c438fc4f862438a6f7c1
parentc39d45ad74461ada6e4d58ab4f7c251dd38320dd

download_zig- untar zig to zig folder


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

download_zig.sh+2-2
...@@ -11,8 +11,6 @@ dir="zig-$os-$arch-$version"...@@ -11,8 +11,6 @@ dir="zig-$os-$arch-$version"
11file="$dir.tar.xz"11file="$dir.tar.xz"
1212
13cd /13cd /
14tar -xf $file
15ln -s /$dir/zig /usr/local/bin
1614
17if [[ $1 == *"dev"* ]]; then15if [[ $1 == *"dev"* ]]; then
18 wget https://ziglang.org/builds/$file16 wget https://ziglang.org/builds/$file
...@@ -20,3 +18,5 @@ else...@@ -20,3 +18,5 @@ else
20 wget https://ziglang.org/download/$version/$file18 wget https://ziglang.org/download/$version/$file
21fi19fi
2220
21tar -xf $file -C /zig
22ln -s /zig/zig /usr/local/bin