Define default arch variable

This commit is contained in:
Matthias Kurz 2023-01-03 12:21:38 +01:00
parent 5fa46859d2
commit 8f4841de92
No known key found for this signature in database
GPG Key ID: 0B4AAA92F1117EF5
1 changed files with 1 additions and 0 deletions

1
sbt
View File

@ -171,6 +171,7 @@ acquire_sbtn () {
local target="$p/sbtn"
local archive_target=
local url=
local arch = "x86_64"
if [[ "$OSTYPE" == "linux-gnu"* ]]; then
arch=$(uname -m)
if [[ "$arch" == "aarch64" ]] || [[ "$arch" == "x86_64" ]]; then