From 91b469d88fc530412bdd3c604374542898614895 Mon Sep 17 00:00:00 2001 From: Jack Humbert Date: Thu, 16 Jun 2016 15:48:54 -0400 Subject: correctly test to see if awk exists --- tmk_core/rules.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tmk_core/rules.mk b/tmk_core/rules.mk index f8a83df1c0..060e4270fa 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 -- cgit v1.2.3