Changeset 9932


Ignore:
Timestamp:
2007-12-26T21:54:39+01:00 (10 years ago)
Author:
agb
Message:

use printf instead of echo

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/verbose.mk

    r9643 r9932  
    2222 
    2323ifeq ($(IS_TTY),1) 
    24   _Y:="\\033[33m" # yellow 
    25   _N:="\\033[m" #normal 
     24  _Y:=\\033[33m 
     25  _N:=\\033[m 
    2626endif 
    2727 
    2828define MESSAGE 
    29         /bin/echo -e "$(_Y)$(1)$(_N)" >&3 
     29        printf "$(_Y)%s$(_N)\n" "$(1)" >&3 
    3030endef 
    3131 
     
    3838    endif 
    3939    _NULL:=$(if $(MAKECMDGOALS),$(shell \ 
    40                 $(call MESSAGE, "make[$(MAKELEVEL)]$(if $(_DIR), -C $(_DIR)) $(MAKECMDGOALS)"); \ 
     40                $(call MESSAGE, make[$(MAKELEVEL)]$(if $(_DIR), -C $(_DIR)) $(MAKECMDGOALS)); \ 
    4141    )) 
    4242  else 
Note: See TracChangeset for help on using the changeset viewer.