diff options
author | Clark Laughlin <clark.laughlin@linaro.org> | 2014-02-24 11:37:44 -0600 |
---|---|---|
committer | Clark Laughlin <clark.laughlin@linaro.org> | 2014-02-24 11:37:44 -0600 |
commit | 56284e87a7d8c93045b9771a2602fc2ddee6c4ec (patch) | |
tree | a113aea0e0ff12444cbd9ff401c731e90b60db54 | |
parent | 2846ed2b56638349d47ba8bf8fa7600205bcc3ec (diff) |
provide way to disable progress spinner to not clutter output log
-rwxr-xr-x | stack.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -477,7 +477,7 @@ function spinner() { # Echo text to the log file, summary log file and stdout # echo_summary "something to say" function echo_summary() { - if [[ -t 3 && "$VERBOSE" != "True" ]]; then + if [[ -t 3 && "$VERBOSE" != "True" && -z "${DISABLE_PROGRESS_SPINNER}" ]]; then kill >/dev/null 2>&1 $LAST_SPINNER_PID if [ ! -z "$LAST_SPINNER_PID" ]; then printf "\b\b\bdone\n" >&3 |