diff --git a/scripts/release-ec2.sh b/scripts/release-ec2.sh index cef0f3533266ea26561077b8148057e6fecfbbeb..e7dacc0c85dd14f0be19c12b22af41e89719be95 100755 --- a/scripts/release-ec2.sh +++ b/scripts/release-ec2.sh @@ -116,14 +116,14 @@ amend_rstatus() { } handle_error() { - echo "\033[31m >>> [`timestamp`] ERROR: $* \033[0m" + echo $(tput setaf 1)">>> [`timestamp`] ERROR: $*"$(tput sgr0) echo amend_rstatus ERROR: $* amend_rstatus Release FAILED. } echo_progress() { - echo "\033[33m >>> $* \033[0m" + echo $(tput setaf 3)">>> $*"$(tput sgr0) } get_json_value() {