aboutsummaryrefslogtreecommitdiffstats
path: root/message.mk
diff options
context:
space:
mode:
authorGravatar Tim Dierks <tim@dierks.org>2017-11-30 21:18:32 -0500
committerGravatar Jack Humbert <jack.humb@gmail.com>2017-11-30 22:15:20 -0500
commitc9d0f210bc3aa4cc7978550cea9524206d155c0c (patch)
treeab7e79032463482f1cd3804b4d3a0d818f9ec2c4 /message.mk
parent7aaef1626693f4e4449946de025aa6175adcfa3d (diff)
downloadqmk_firmware-c9d0f210bc3aa4cc7978550cea9524206d155c0c.tar.gz
Change awk detector to work with mawk; fixes #2073
Diffstat (limited to 'message.mk')
-rw-r--r--message.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/message.mk b/message.mk
index 7c832b292..f5fb751ed 100644
--- a/message.mk
+++ b/message.mk
@@ -9,7 +9,7 @@ ifeq ($(COLOR),true)
BOLD=\033[1m
endif
-ifneq ($(shell awk --version 2>/dev/null),)
+ifneq ($(shell echo "1 2 3" | awk '{ printf "%2s", $$3; }' 2>/dev/null)," 3")
AWK=awk
else
AWK=cat && test