Fix install.sh to run when there is no terminal (e.g. on CI).
This commit is contained in:
@ -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' ]
|
||||
|
Reference in New Issue
Block a user