1
0
Fork 0

correctly test to see if awk exists

This commit is contained in:
Jack Humbert 2016-06-16 15:48:54 -04:00
parent 33e83aaaca
commit 91b469d88f

View file

@ -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