aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/bootstrap/buildenv.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/scripts/bootstrap/buildenv.sh b/scripts/bootstrap/buildenv.sh
index 9301483180..c7e381c33e 100755
--- a/scripts/bootstrap/buildenv.sh
+++ b/scripts/bootstrap/buildenv.sh
@@ -228,7 +228,11 @@ function new_step() {
else
new_line="\n"
fi
- display -n "$new_line$LEAVES $1"
+ if [ -t 2 ]; then
+ display -n "$new_line$LEAVES $1"
+ else
+ display -n "$new_line$1"
+ fi
}
function git_sha1() {