From 20aa89e33c34c64b9d7fb93714ad6509e8c252b1 Mon Sep 17 00:00:00 2001 From: James Laska Date: Wed, 19 Mar 2014 11:29:02 -0400 Subject: [PATCH] Adjust interactive shell test To improve grunt readability from test automation, disable colorized output when running a non-interactive shell. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index a00de5492f..2c78734f0c 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ PYTHON=python SITELIB=$(shell $(PYTHON) -c "from distutils.sysconfig import get_python_lib; print get_python_lib()") PACKER ?= packer -GRUNT ?= $(shell [ -t 0 -o -p /dev/stdin ] && echo "grunt" || echo "grunt --no-color") +GRUNT ?= $(shell [ -t 0 ] && echo "grunt" || echo "grunt --no-color") # Get the branch information from git GIT_DATE := $(shell git log -n 1 --format="%ai")