Exit with error if building for unsupported arch

pull/3931/head
Ken VanDine 2024-12-29 16:15:34 -05:00 committed by Mitchell Hashimoto
parent 97b104cf9d
commit f51789b17a
1 changed files with 3 additions and 0 deletions

View File

@ -50,6 +50,9 @@ parts:
if [[ -n $arch ]]; then
curl -LO --retry-connrefused --retry 10 https://ziglang.org/download/0.13.0/zig-linux-$arch-0.13.0.tar.xz
else
echo "Unsupported arch"
exit 1
fi
tar xf zig-lin*xz