From 0cbb5fc817156ed261e2b30cb791655d555df5f0 Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Mon, 16 Mar 2015 20:29:25 +0100 Subject: don't print "progress bar" when stdout is no tty Change-Id: I8da61d7f7d4fe4f68b266d248fda53acd10d4372 Reviewed-by: Thiago Macieira --- configure | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'configure') diff --git a/configure b/configure index 54a6be4846..35a50ebb3b 100755 --- a/configure +++ b/configure @@ -4014,8 +4014,8 @@ if true; then ###[ '!' -f "$outpath/bin/qmake" ]; (cd "$outpath/qmake"; "$MAKE") || exit 2 else # Hide the output of make - # Use bash to print dots, if we have it - if $WHICH bash > /dev/null 2>/dev/null; then + # Use bash to print dots, if we have it, and stdout is a tty. + if test -t 1 && $WHICH bash > /dev/null 2>/dev/null; then bash -c 'set -o pipefail cd "$0/qmake"; "$1" | while read line; do builtin echo -n . -- cgit v1.2.3