correctly test to see if awk exists

example_keyboards
Jack Humbert 9 years ago
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…
Cancel
Save