Skip to content

Use POSIX alternative of find -quit - #17059

Merged
jkotas merged 1 commit into
dotnet:mainfrom
am11:patch-18
Jun 28, 2026
Merged

jkotas merged 1 commit into
dotnet:mainfrom
am11:patch-18

Conversation

@am11

@am11 am11 commented Jun 27, 2026 •

Copy link
Copy Markdown
Member

Instead, we can use find ... | head -n 1 to support OpenBSD type of less-fancy, more POSIX-y platforms.

Stumbled upon unsupported switch error when used cross-built SDK on OpenBSD to build runtime.

Contributes to dotnet/runtime#124911.

@am11

am11 commented Jun 27, 2026

Copy link
Copy Markdown
Member Author

cc @jkotas, @akoeplinger, this is the only place where we are using this flag (to stop at the first result).

@jkotas
jkotas merged commit c99e4a3 into dotnet:main Jun 28, 2026
10 checks passed
@am11
am11 deleted the patch-18 branch June 28, 2026 07:47
@dotnet-milestone-bot dotnet-milestone-bot Bot added this to the 11.0-preview7 milestone Jul 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants