Skip to content
This repository has been archived by the owner on Feb 8, 2021. It is now read-only.

tput: No value for $TERM and no -T specified #4

Open
imdjh opened this issue Oct 8, 2015 · 2 comments
Open

tput: No value for $TERM and no -T specified #4

imdjh opened this issue Oct 8, 2015 · 2 comments

Comments

@imdjh
Copy link
Contributor

imdjh commented Oct 8, 2015

Since we got set -e at line11

9 |  BASE_DIR=$(cd "$(dirname "$0")"; pwd); cd ${BASE_DIR}
10|  SLEEP_SEC=10
11|  set -e
12|  ########## Variable ##########
13|  CURRENT_USER="$(id -un 2>/dev/null || true)"

Running this script under no $TERM global environment variable would cause non-zero exit.

@Jimmy-Xu
Copy link
Contributor

Jimmy-Xu commented Oct 8, 2015

Thanks. what's your environment to run hyper install script?

@imdjh
Copy link
Contributor Author

imdjh commented Oct 8, 2015

@Jimmy-Xu I setup a CI environment on daocloud which results in this glitch, I have send a PR #5 that would fix it.

This was referenced Oct 8, 2015
imdjh pushed a commit to imdjh/hyper-installer that referenced this issue Oct 9, 2015
imdjh pushed a commit to imdjh/hyper-installer that referenced this issue Oct 9, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants