File tree 1 file changed +7
-7
lines changed 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -26,13 +26,13 @@ TOOL_TPARSE_VERSION := v0.16.0
26
26
TOOL_TPARSE_PKG := github.com/mfridman/$(TOOL_TPARSE_NAME ) @$(TOOL_TPARSE_VERSION )
27
27
TOOL_TPARSE_BIN := ${TOOLS_FOLDER}/$(TOOL_TPARSE_NAME ) /$(TOOL_TPARSE_VERSION ) /$(TOOL_TPARSE_NAME )
28
28
29
- # Some colors
30
- COLOR_GREEN = $(shell tput -Txterm setaf 2)
31
- COLOR_YELLOW = $(shell tput -Txterm setaf 3)
32
- COLOR_WHITE = $(shell tput -Txterm setaf 7)
33
- COLOR_CYAN = $(shell tput -Txterm setaf 6)
34
- COLOR_RED = $(shell tput -Txterm setaf 1)
35
- COLOR_RESET = $(shell tput -Txterm sgr0)
29
+ # Some colors (if supported)
30
+ COLOR_GREEN = $(shell tput -Txterm setaf 2 2>/dev/null || echo "" )
31
+ COLOR_YELLOW = $(shell tput -Txterm setaf 3 2>/dev/null || echo "" )
32
+ COLOR_WHITE = $(shell tput -Txterm setaf 7 2>/dev/null || echo "" )
33
+ COLOR_CYAN = $(shell tput -Txterm setaf 6 2>/dev/null || echo "" )
34
+ COLOR_RED = $(shell tput -Txterm setaf 1 2>/dev/null || echo "" )
35
+ COLOR_RESET = $(shell tput -Txterm sgr0 2>/dev/null || echo "" )
36
36
37
37
# Blockchain constants
38
38
CHAIN := localnet
You can’t perform that action at this time.
0 commit comments