From: Jack Humbert Date: Thu, 16 Jun 2016 19:48:54 +0000 (-0400) Subject: correctly test to see if awk exists X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=91b469d88fc530412bdd3c604374542898614895;p=qmk_firmware.git correctly test to see if awk exists --- diff --git a/tmk_core/rules.mk b/tmk_core/rules.mk index f8a83df1c..060e4270f 100644 --- a/tmk_core/rules.mk +++ b/tmk_core/rules.mk @@ -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