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 97b104cf9d
commit f51789b17a

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