diff options
author | Fred Sundvik <fsundvik@gmail.com> | 2017-07-12 13:04:50 +0300 |
---|---|---|
committer | Fred Sundvik <fsundvik@gmail.com> | 2017-07-12 13:04:50 +0300 |
commit | b7d8dec7dccc9bc6b458e26a8d12fcdb4d73cdeb (patch) | |
tree | 846972bb11ef31f58fbc34dd9cb3df126935a219 | |
parent | 7f67abd7d7f5d393894a34faba51108301381266 (diff) | |
download | firmware-b7d8dec7dccc9bc6b458e26a8d12fcdb4d73cdeb.tar.gz firmware-b7d8dec7dccc9bc6b458e26a8d12fcdb4d73cdeb.tar.bz2 firmware-b7d8dec7dccc9bc6b458e26a8d12fcdb4d73cdeb.zip |
Fix printf error in make output on msys2
-rw-r--r-- | message.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/message.mk b/message.mk index fa051fd71..4f72202e6 100644 --- a/message.mk +++ b/message.mk @@ -21,8 +21,8 @@ OK_STRING=$(OK_COLOR)[OK]$(NO_COLOR)\n ERROR_STRING=$(ERROR_COLOR)[ERRORS]$(NO_COLOR)\n WARN_STRING=$(WARN_COLOR)[WARNINGS]$(NO_COLOR)\n -TAB_LOG = printf "\n$$LOG\n\n" | $(AWK) '{ sub(/^/," | "); print }' -TAB_LOG_PLAIN = printf "$$LOG\n" +TAB_LOG = printf "\n%s\n\n" "$$LOG" | $(AWK) '{ sub(/^/," | "); print }' +TAB_LOG_PLAIN = printf "%s\n" "$$LOG" AWK_STATUS = $(AWK) '{ printf " %-10s\n", $$1; }' AWK_CMD = $(AWK) '{ printf "%-99s", $$0; }' PRINT_ERROR = ($(SILENT) ||printf " $(ERROR_STRING)" | $(AWK_STATUS)) && $(TAB_LOG) && $(ON_ERROR) |