Skip to content

[2.x] fix: Fixes sbt runner script' sbtn detection#8810

Merged
eed3si9n merged 1 commit intosbt:developfrom
fireXtract:universal-sbtn
Feb 25, 2026
Merged

[2.x] fix: Fixes sbt runner script' sbtn detection#8810
eed3si9n merged 1 commit intosbt:developfrom
fireXtract:universal-sbtn

Conversation

@fireXtract
Copy link
Copy Markdown
Contributor

@fireXtract fireXtract commented Feb 24, 2026

sbtn-x86_64-apple-darwin doesn't exist anymore.

While the existing solution does work, it seemed worth tidying up while I had it in mind.

I tested this fix on 1.10.1 and 1.12.3, and it prevents entering the acquire_sbtn function when detectNativeBinary detects the binary already exists.

@fireXtract fireXtract changed the title Refer to universal sbtn in detectNativeClient fix: Refer to universal sbtn in detectNativeClient Feb 24, 2026
** Problem **
sbtn-x86_64-apple-darwin doesn't exist anymore

** Solution **
point to universal binary instead

tested on 1.10.1 and 1.12.3 via vlog statements
in acquire_sbtn no longer appearing after the change
confirming that detectNativeClient set the correct
value
Copy link
Copy Markdown
Member

@eed3si9n eed3si9n left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@eed3si9n eed3si9n changed the title fix: Refer to universal sbtn in detectNativeClient [2.x] fix: Refer to universal sbtn in detectNativeClient Feb 24, 2026
@eed3si9n eed3si9n merged commit e007fcf into sbt:develop Feb 25, 2026
24 of 25 checks passed
eed3si9n pushed a commit to eed3si9n/sbt that referenced this pull request Mar 1, 2026
** Problem **
sbtn-x86_64-apple-darwin doesn't exist anymore

** Solution **
point to universal binary instead
eed3si9n pushed a commit to eed3si9n/sbt that referenced this pull request Mar 1, 2026
** Problem **
sbtn-x86_64-apple-darwin doesn't exist anymore

** Solution **
point to universal binary instead
eed3si9n added a commit that referenced this pull request Mar 1, 2026
** Problem **
sbtn-x86_64-apple-darwin doesn't exist anymore

** Solution **
point to universal binary instead

Co-authored-by: fireXtract <[email protected]>
eed3si9n added a commit that referenced this pull request Mar 1, 2026
** Problem **
sbtn-x86_64-apple-darwin doesn't exist anymore

** Solution **
point to universal binary instead

Co-authored-by: fireXtract <[email protected]>
@eed3si9n eed3si9n changed the title [2.x] fix: Refer to universal sbtn in detectNativeClient [2.x] fix: Fixes sbt runner script' sbtn detection Mar 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants