solaris awk does not close stdin when not input file is given explicitly

This commit is contained in:
Norbert Thiebaud 2010-12-20 09:59:18 -06:00
parent 98ce6cf4e9
commit ddca672eb7

View file

@ -53,8 +53,8 @@ define gb_Output_warn
$(warning $(NEWLINE)[ WARN $(2) ] !!!$(NEWLINE)[ WARN $(2) ] !!! $(1)$(NEWLINE)[ WARN $(2) ] !!!)
endef
gb_Output_ESCAPE := $(shell awk 'BEGIN { printf "%c", 27 }')
gb_Output_BELL := $(shell awk 'BEGIN { printf "%c", 7 }')
gb_Output_ESCAPE := $(shell echo|awk 'BEGIN { printf "%c", 27 }' -)
gb_Output_BELL := $(shell echo|awk 'BEGIN { printf "%c", 7 }' -)
# only enable colorized output if
# - gb_COLOR is set