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
1 changed files with 1 additions and 1 deletions

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