]> git.donarmstrong.com Git - qmk_firmware.git/blobdiff - message.mk
fix the moxygen invocation
[qmk_firmware.git] / message.mk
index 7c832b29271391a7b6393fee630f8d88f8be0ab4..1401698ddcaa832789c7865e8e189f722544cb56 100644 (file)
@@ -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
@@ -58,7 +58,7 @@ MSG_SUBMODULE_DIRTY = $(WARN_COLOR)WARNING:$(NO_COLOR)\n \
        Some git sub-modules are out of date or modified, please consider runnning:$(BOLD)\n\
         make git-submodule\n\
        You can ignore this warning if you are not compiling any ChibiOS keyboards,\n\
-       or if you have modified the ChibiOS libraries yourself. \n\n
+       or if you have modified the ChibiOS libraries yourself. \n\n$(NO_COLOR)
 MSG_NO_CMP = $(ERROR_COLOR)Error:$(NO_COLOR)$(BOLD) cmp command not found, please install diffutils\n$(NO_COLOR)
 
 define GENERATE_MSG_MAKE_KB