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

[Scripts] Make removeAnchors script support Darwin's BSD find #444

Merged
merged 3 commits into from
Jul 10, 2023

Conversation

Weyzu
Copy link

@Weyzu Weyzu commented Jul 7, 2023

Within the removeAnchors bash script the GNU find command is assumed. On some operating systems (and I'm mainly thinking about macOS here) the BSD find is the one available out-of-the-box. The BSD find does not support the -regextype flag. As a consequence, anyone who runs the script using that command variant will encounter an error.

I updated the script to check for the OS and use the appropriate command version so that the script can be a tad more universal. 🙂

edit: I see that this PR can address the first bullet point of #396

@milesfrain milesfrain merged commit 180c155 into purescript-contrib:master Jul 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants