diff options
author | Jack Humbert <jack.humb@gmail.com> | 2016-06-16 21:48:54 +0200 |
---|---|---|
committer | Jack Humbert <jack.humb@gmail.com> | 2016-06-16 21:48:54 +0200 |
commit | 91b469d88fc530412bdd3c604374542898614895 (patch) | |
tree | 04947bc47108f0b17f1f0f5f3c74dc86de16e7d1 | |
parent | 33e83aaaca0afa7885673cc64b771aabe18be00d (diff) | |
download | qmk_firmware-91b469d88fc530412bdd3c604374542898614895.tar.gz qmk_firmware-91b469d88fc530412bdd3c604374542898614895.tar.xz |
correctly test to see if awk exists
-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 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 |