Fix install.sh to run when there is no terminal (e.g. on CI).

This commit is contained in:
Ewan Mellor
2022-12-25 13:48:12 -08:00
parent 20d256910b
commit cfdbc7a45b

View File

@ -2,8 +2,11 @@
set -euo pipefail
cols=$(tput cols)
cols=80
if [ -n "$TERM" ]
then
cols=$(tput cols)
fi
readlink_f() {
if [ $(uname) = 'Darwin' ]