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

Remove readarray from install.sh #1198

Merged
merged 2 commits into from
Jan 31, 2024
Merged

Remove readarray from install.sh #1198

merged 2 commits into from
Jan 31, 2024

Conversation

charliermarsh
Copy link
Member

Summary

This isn't available on macOS (see, e.g., https://stackoverflow.com/questions/23842261/alternative-to-readarray-because-it-does-not-work-on-mac-os-x), but this version works both on macOS and Linux.

Closes #1196. (Verified locally and on CI.)

@charliermarsh charliermarsh marked this pull request as ready for review January 31, 2024 00:21
@charliermarsh charliermarsh added the bug Something isn't working label Jan 31, 2024
@charliermarsh charliermarsh changed the title Remove readarray from install.sh Remove readarray from install.sh Jan 31, 2024
@charliermarsh charliermarsh changed the base branch from main to charlie/invert January 31, 2024 01:27
@zanieb
Copy link
Member

zanieb commented Jan 31, 2024

Interesting.. I mean it is available on my macOS machine it just requires a newer version of bash? That stackoverflow issue is from 2014. This is fine though. I find IFS hard to read but it's relatively common.

Base automatically changed from charlie/invert to main January 31, 2024 14:44
@charliermarsh charliermarsh merged commit 462fec1 into main Jan 31, 2024
5 checks passed
@charliermarsh charliermarsh deleted the charlie/readarray branch January 31, 2024 15:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bootstrap scripts fails on macOS
2 participants