mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-08-02 14:57:31 +03:00
Exit with error if building for unsupported arch
This commit is contained in:

committed by
Mitchell Hashimoto

parent
97b104cf9d
commit
f51789b17a
@ -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
|
||||
|
Reference in New Issue
Block a user