mirror of https://github.com/sbt/sbt.git
** Problem ** sbtn-x86_64-apple-darwin doesn't exist anymore ** Solution ** point to universal binary instead Co-authored-by: fireXtract <fireXtract@users.noreply.github.com>
This commit is contained in:
parent
0e11aebddc
commit
c88b641c36
2
sbt
2
sbt
|
|
@ -791,7 +791,7 @@ detectNativeClient() {
|
|||
arch=$(uname -m)
|
||||
[[ -f "${sbt_bin_dir}/sbtn-${arch}-pc-linux" ]] && sbtn_command="${sbt_bin_dir}/sbtn-${arch}-pc-linux"
|
||||
elif [[ "$OSTYPE" == "darwin"* ]]; then
|
||||
[[ -f "${sbt_bin_dir}/sbtn-x86_64-apple-darwin" ]] && sbtn_command="${sbt_bin_dir}/sbtn-x86_64-apple-darwin"
|
||||
[[ -f "${sbt_bin_dir}/sbtn-universal-apple-darwin" ]] && sbtn_command="${sbt_bin_dir}/sbtn-universal-apple-darwin"
|
||||
elif [[ "$OSTYPE" == "cygwin" ]] || [[ "$OSTYPE" == "msys" ]] || [[ "$OSTYPE" == "win32" ]]; then
|
||||
[[ -f "${sbt_bin_dir}/sbtn-x86_64-pc-win32.exe" ]] && sbtn_command="${sbt_bin_dir}/sbtn-x86_64-pc-win32.exe"
|
||||
elif [[ "$OSTYPE" == "freebsd"* ]]; then
|
||||
|
|
|
|||
Loading…
Reference in New Issue