forked from forks/qmk_firmware
correctly test to see if awk exists
This commit is contained in:
parent
33e83aaaca
commit
91b469d88f
|
@ -89,7 +89,7 @@ ifeq ($(COLOR),true)
|
|||
BOLD=\033[1m
|
||||
endif
|
||||
|
||||
ifeq ("$(awk /dev/null 2>&1)", "")
|
||||
ifneq ($(shell awk --version 2>/dev/null),)
|
||||
AWK=awk
|
||||
else
|
||||
AWK=cat && test
|
||||
|
|
Loading…
Reference in a new issue