X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/597f84978ebcf53f2a8bf7b02d84a080025cb329..b15238f536bdcbc1fb85c67940b97f1463f90ca0:/include/verbose.mk diff --git a/include/verbose.mk b/include/verbose.mk index 34568a31f..b4242f212 100644 --- a/include/verbose.mk +++ b/include/verbose.mk @@ -18,7 +18,7 @@ ifeq ("$(origin V)", "command line") KBUILD_VERBOSE:=$(V) endif -ifneq ($(shell tty -s <&3 || echo x),x) +ifeq ($(IS_TTY),1) _Y:="\\33[33m"# yellow _N:="\\33[m"# normal endif