Merge pull request #8038 from mehdignu/fix-sbtn-arch-logging

Fix incorrect sbt architecture logging on MacOS arm64
This commit is contained in:
eugene yokota 2025-02-15 22:33:36 -05:00 committed by GitHub
commit 1d16ca9510
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

1
sbt
View File

@ -200,6 +200,7 @@ acquire_sbtn () {
exit 2
fi
elif [[ "$OSTYPE" == "darwin"* ]]; then
arch="universal"
archive_target="$p/sbtn-universal-apple-darwin-${sbtn_v}.tar.gz"
url="https://github.com/sbt/sbtn-dist/releases/download/v${sbtn_v}/sbtn-universal-apple-darwin-${sbtn_v}.tar.gz"
elif [[ "$OSTYPE" == "cygwin" ]] || [[ "$OSTYPE" == "msys" ]] || [[ "$OSTYPE" == "win32" ]]; then