Skip to content

Commit

Permalink
Do not output Bazel leaves to logs.
Browse files Browse the repository at this point in the history
Unicode characters are trouble we do not want.

Change-Id: I5f5239baab60a875a697f2ee3104225e19c0ce1d
PiperOrigin-RevId: 173245285
  • Loading branch information
dslomov committed Oct 24, 2017
1 parent 527ff1f commit 8d58ec1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion scripts/bootstrap/buildenv.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 8d58ec1

Please sign in to comment.