mirror of
https://github.com/awesome-selfhosted/awesome-selfhosted.git
synced 2026-03-09 19:53:42 -05:00
make contrib issues on macOS
#4191
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @quinncomendant on GitHub (Oct 2, 2017).
Originally assigned to: @nodiscc on GitHub.
make contribdoesn't work on macOS. There are two issues that involve macOS and other BSD-derived versions ofsed:sed -irequires specifying an extension, even if blank. Use this:sed -i ''.seddoesn't accept\tas a notation for the TAB character. This works for bash shells:$'s/\t/ | /g'Putting this together, the sed command in the
contribcommand should be:@Kickball commented on GitHub (Oct 3, 2017):
@nodiscc I am not familiar with bash/makefiles, I am happy with this change if you are.
@quinncomendant thank you for highlighting this issue.
@nodiscc commented on GitHub (Oct 4, 2017):
@quinncomendant Thank you for raising this. I have tried applying your change, and am getting an error (using GNU Bash 4.4.12 and GNU sed 4.4 on Debian):
Do you know of a way to make this work on all platforms?
@nodiscc commented on GitHub (Mar 10, 2019):
The makefile only supports GNU Bash.