From c88b641c360e2c96ab8bb1284606f2876c9a345e Mon Sep 17 00:00:00 2001 From: eugene yokota Date: Sun, 1 Mar 2026 05:28:23 -0500 Subject: [PATCH] [1.x] fix: Refer to universal sbtn in detectNativeClient (#8810) (#8851) ** Problem ** sbtn-x86_64-apple-darwin doesn't exist anymore ** Solution ** point to universal binary instead Co-authored-by: fireXtract --- sbt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sbt b/sbt index a0372bc11..672a8aaf4 100755 --- a/sbt +++ b/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