mirror of https://github.com/sbt/sbt.git
Merge pull request #7895 from Androz2091/patch-1
fix/support-ostype-linux-sbtn
This commit is contained in:
commit
1e5827ee5a
2
sbt
2
sbt
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in New Issue