Skip to content

Commit

Permalink
Revert "verbose.mk: fix ERROR message in verbose mode"
Browse files Browse the repository at this point in the history
This reverts commit b8d63de.
  • Loading branch information
guidosarducci committed Nov 12, 2023
1 parent b8d63de commit cc5dd02
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions include/verbose.mk
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,13 @@ ifeq ($(IS_TTY),1)
endif

define ERROR_MESSAGE
printf "$(_R)%s$(_N)\n" "$(1)" $(ERROR_MESSAGE_REDIR)
printf "$(_R)%s$(_N)\n" "$(1)" >&8
endef

ifeq ($(findstring s,$(OPENWRT_VERBOSE)),)
define MESSAGE
printf "$(_Y)%s$(_N)\n" "$(1)" >&8
endef
ERROR_MESSAGE_REDIR:=>&8

ifeq ($(QUIET),1)
ifneq ($(CURDIR),$(TOPDIR))
Expand All @@ -61,5 +60,4 @@ else
define MESSAGE
printf "%s\n" "$(1)"
endef
ERROR_MESSAGE_REDIR:=>&2
endif

0 comments on commit cc5dd02

Please sign in to comment.