Skip to content

Commit

Permalink
remove tput, causes errors in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
mattip authored and soumith committed Jul 6, 2020
1 parent 6c8e2ba commit e7870c1
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions run_python_examples.sh
Original file line number Diff line number Diff line change
Expand Up @@ -202,13 +202,8 @@ else
fi

if [ "" == "$ERRORS" ]; then
[[ "$TERM" != "" ]] && [[ "$TERM" != "dumb" ]] && tput setaf 2
echo "Completed successfully with status $?"
else
[[ "$TERM" != "" ]] && [[ "$TERM" != "dumb" ]] && tput setaf 1
echo "Some examples failed:"
printf "$ERRORS"
fi

[[ "$TERM" != "" ]] && [[ "$TERM" != "dumb" ]] && tput sgr0

0 comments on commit e7870c1

Please sign in to comment.