From e007fcf6dcb4ecda8fdc78afe1d65d44750c622e Mon Sep 17 00:00:00 2001 From: fireXtract Date: Tue, 24 Feb 2026 22:24:00 -0600 Subject: [PATCH] fix: Refer to universal sbtn in detectNativeClient (#8810) ** Problem ** sbtn-x86_64-apple-darwin doesn't exist anymore ** Solution ** point to universal binary instead --- sbt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sbt b/sbt index 9e3ae8cea..358c461a5 100755 --- a/sbt +++ b/sbt @@ -797,7 +797,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