ENH: wmakeScheduler: detect tty

This commit is contained in:
mattijs
2011-10-07 16:01:56 +01:00
parent 93fa2893d7
commit 4819b9a0a3

View File

@ -151,7 +151,8 @@ set -o pipefail
# #
colourPipe() colourPipe()
{ {
if [ "$1" ]
if tty -s <&1 # [ "$1" ]
then then
( (
while read line while read line