diff options
author | Jack Humbert <jack.humb@gmail.com> | 2016-06-16 15:48:54 -0400 |
---|---|---|
committer | Jack Humbert <jack.humb@gmail.com> | 2016-06-16 15:48:54 -0400 |
commit | 91b469d88fc530412bdd3c604374542898614895 (patch) | |
tree | 04947bc47108f0b17f1f0f5f3c74dc86de16e7d1 /tmk_core | |
parent | 33e83aaaca0afa7885673cc64b771aabe18be00d (diff) |
correctly test to see if awk exists
Diffstat (limited to 'tmk_core')
-rw-r--r-- | tmk_core/rules.mk | 2 |
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 |