Skip to content

Commit

Permalink
Fix printf error in make output on msys2
Browse files Browse the repository at this point in the history
  • Loading branch information
fredizzimo committed Jul 12, 2017
1 parent 7f67abd commit b7d8dec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions message.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit b7d8dec

Please sign in to comment.