summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tmk_core/rules.mk2
1 files changed, 1 insertions, 1 deletions
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