summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>2015-03-16 20:29:25 +0100
committerOswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>2015-03-27 13:29:53 +0000
commit0cbb5fc817156ed261e2b30cb791655d555df5f0 (patch)
tree54e9d064fd3ef4e48c4ee99a617aa15739b4b4ec /configure
parent10319b664632a7c6321927326b0b2be8cad36ecc (diff)
don't print "progress bar" when stdout is no tty
Change-Id: I8da61d7f7d4fe4f68b266d248fda53acd10d4372 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
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 .