Merge pull request #7895 from Androz2091/patch-1

fix/support-ostype-linux-sbtn
This commit is contained in:
adpi2 2024-11-28 11:48:52 +01:00 committed by GitHub
commit 1e5827ee5a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

2
sbt
View File

@ -180,7 +180,7 @@ acquire_sbtn () {
local archive_target=
local url=
local arch="x86_64"
if [[ "$OSTYPE" == "linux-gnu"* ]]; then
if [[ "$OSTYPE" == "linux"* ]]; then
arch=$(uname -m)
if [[ "$arch" == "aarch64" ]] || [[ "$arch" == "x86_64" ]]; then
archive_target="$p/sbtn-${arch}-pc-linux-${sbtn_v}.tar.gz"