Exit with error if building for unsupported arch

This commit is contained in:
Ken VanDine
2024-12-29 16:15:34 -05:00
committed by Mitchell Hashimoto
parent 2b2b3c5b3b
commit b7bd8444c7

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