Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not use GNU find features on FreeBSD #345

Merged
merged 1 commit into from
Sep 6, 2023

Conversation

kiancross
Copy link
Contributor

FreeBSD (like MacOS) does not support the -executable argument for find. This commit checks if the OS is FreeBSD, and if so, uses the same workaround as already in place on MacOS.

A more portable solution might be to test if the -executable flag is available, and fallback to -perm if not.

FreeBSD (like MacOS) does not support the `-executable` argument for
`find`. This commit checks if the OS is FreeBSD, and if so, uses the
same workaround as already in place on MacOS.
@sunfishcode
Copy link
Member

Thanks!

@sunfishcode sunfishcode merged commit bbfb973 into WebAssembly:main Sep 6, 2023
@kiancross kiancross deleted the free-bsd-fix branch September 6, 2023 14:49
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