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

fix: use the bash executable specified by PATH #242

Merged
merged 1 commit into from
Jan 13, 2024

Conversation

apotterri
Copy link
Contributor

@apotterri apotterri commented Jan 12, 2024

📚 Description

Update the release script so the final bashunit script will use PATH to find bash. The version of bash in /bin on macOS is very old, and forcing tests to use it is quite limiting.

🔖 Changes

  • Change build.sh so it prepends #!/usr/bin/env bash to the final bashunit script.

✅ To-do list

  • I updated the CHANGELOG.md to reflect the new feature or fix
  • I updated the documentation to reflect the changes

Update the release script so the final bashunit script will use PATH to
find bash. The version of bash in /bin on macOS is very old, and forcing
tests to use it is quite limiting.
@apotterri
Copy link
Contributor Author

This seems like a workable approach, but I'm not sure it's best (especially because there don't appear to be any tests that use the final packaged bashunit script).

Happy to get any feedback on this change in general as well.

@apotterri apotterri marked this pull request as ready for review January 12, 2024 21:31
@Chemaclass
Copy link
Member

Everything seems to be working fine. Thanks for the PR, @apotterri !

Screenshot 2024-01-13 at 17 07 24

@Chemaclass Chemaclass merged commit b83246a into TypedDevs:main Jan 13, 2024
7 checks passed
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