From 314060e2d94828bd988d693d369aae5dc2657401 Mon Sep 17 00:00:00 2001 From: chenduo Date: Tue, 13 Sep 2022 21:41:57 +0800 Subject: [PATCH] fix: to be compatible with MacOS Change echo to printf, since there is no -e option in echo command of MacOS. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index d3be8cc3..d7252099 100644 --- a/Makefile +++ b/Makefile @@ -187,6 +187,6 @@ tidy: ## help: Show this help info. .PHONY: help help: Makefile - @echo -e "\nUsage: make ...\n\nTargets:" + @printf "\nUsage: make ...\n\nTargets:\n" @sed -n 's/^##//p' $< | column -t -s ':' | sed -e 's/^/ /' @echo "$$USAGE_OPTIONS"