Oops, commited just one part :/
[openwrt.git] / include / verbose.mk
index 34568a3..b4242f2 100644 (file)
@@ -18,7 +18,7 @@ ifeq ("$(origin V)", "command line")
   KBUILD_VERBOSE:=$(V)
 endif
 
   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
   _Y:="\\33[33m"# yellow
   _N:="\\33[m"#        normal
 endif
This page took 0.018759 seconds and 4 git commands to generate.