Skip to content

Commit 90fe0d1

Browse files
jdutanttarleb
authored andcommitted
Make help target compatible with BSD sed
Fixes tarleb#8 . End of command seems needed with MacOS's sed (BSD). Tested with GNU sed on MacOS (gsed).
1 parent 61d28b7 commit 90fe0d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ USER_NAME = $(shell git config user.name)
3434
.PHONY: help
3535
help:
3636
@tabs 22 ; $(SED) -ne \
37-
'/^## / h ; /^[^_.$$#][^ ]+:/ { G; s/^(.*):.*##(.*)/\1@\2/; P ; h }' \
37+
'/^## / h ; /^[^_.$$#][^ ]+:/ { G; s/^(.*):.*##(.*)/\1@\2/; P ; h ; }' \
3838
$(MAKEFILE_LIST) | tr @ '\t'
3939

4040
#

0 commit comments

Comments
 (0)