diff --git a/scripts/bootstrap/buildenv.sh b/scripts/bootstrap/buildenv.sh index 93014831807c6e..c7e381c33ef369 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() {