Skip to content

Conversation

@ayjayt
Copy link
Collaborator

@ayjayt ayjayt commented Jul 30, 2024

Default bash on MacOS is 3., but these scripts need 5., so this PR changes the #! line in these shell scripts to use /usr/bin/env bash to find and run bash instead of using /bin/bash, which allows users to install a more recent version of bash and have it picked up.

from @gvwilson , here we're not merging into master

Default bash on MacOS is 3.*, but these scripts need 5.*, so this PR
changes the `#!` line in these shell scripts to use `/usr/bin/env
bash` to find and run bash instead of using `/bin/bash`, which allows
users to install a more recent version of bash and have it picked up.
@ayjayt ayjayt requested a review from gvwilson July 30, 2024 19:33
@ayjayt
Copy link
Collaborator Author

ayjayt commented Jul 30, 2024

same PR @gvwilson just onto the dev branch not onto master, otherwise we pull in all the commits

@ayjayt ayjayt merged commit d1f3b84 into andrew/mac-build Jul 30, 2024
@ayjayt
Copy link
Collaborator Author

ayjayt commented Jul 30, 2024

its fine, its done

@gvwilson
Copy link
Contributor

thank you

@ayjayt ayjayt deleted the gvwilson/usr-bin-env-bash branch July 30, 2024 19:50
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.

3 participants