Skip to content

Commit 33218c6

Browse files
committed
fix(Makefile): colors
1 parent 5a0cd0d commit 33218c6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ export GOROOT=
99
# It supports ANSI colors and categories.
1010
# To add new item into help output, simply add comments
1111
# starting with '##'. To add category, use @category.
12-
GREEN := $(shell echo "\e[32m")
13-
WHITE := $(shell echo "\e[37m")
14-
YELLOW := $(shell echo "\e[33m")
15-
RESET := $(shell echo "\e[0m")
12+
GREEN := $(shell printf "\e[32m")
13+
WHITE := $(shell printf "\e[37m")
14+
YELLOW := $(shell printf "\e[33m")
15+
RESET := $(shell printf "\e[0m")
1616
HELP_FUN = \
1717
%help; \
1818
while(<>) { push @{$$help{$$2 // 'options'}}, [$$1, $$3] if /^([a-zA-Z0-9\-]+)\s*:.*\#\#(?:@([a-zA-Z\-]+))?\s(.*)$$/ }; \

0 commit comments

Comments
 (0)