mirror of https://github.com/sbt/sbt.git
move arch detection into darwin block
This commit is contained in:
parent
da54265119
commit
a266e10556
1
sbt
1
sbt
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue