-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commands using sed the shell scripts do not work for Mac OS #2257
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
Comments
c/c @estroz @joelanford |
@camilamacedo86 Yeah, that's a known issue, but I'm not sure every single one of our |
Also, I sometimes use a Mac and I've gotten around this problem by installing GNU sed from homebrew. The version of sed shipped with Mac OS is super old. brew install gnu-sed |
Thanks @joelanford it does not work. I know that we have this issue with some places .. but would be nice to find a better solution which make work in both. For example, now I am unable to run the test sanity without changing it manually :-(
|
Submit a PR with the manual change you made to get it to work on Mac 🙂 |
Bug Report
What did you do?
For example, try to run make test-sanity in a mac os x.
What did you expect to see?
The test be executed with success
What did you see instead? Under which circumstances?
An error because of the sed
Possible Solution
Check if is mac or Linux and then exec accordingly the command. Or change the implementation in order to not require sed usage.
Additional context
See the places: https://github.com/operator-framework/operator-sdk/search?l=Shell&q=sed
The text was updated successfully, but these errors were encountered: