remove hardcoded ansi to tput so that color coding works in multiple platforms including osx.

pull/6/head
Alejandro Escobar 2017-02-10 10:25:43 -08:00
parent 1be74e39fa
commit 0314bcdbba
1 changed files with 2 additions and 2 deletions

View File

@ -18,8 +18,8 @@ set -o errexit
set -o nounset
set -o pipefail
red='\E[1;31m'
reset='\E[0m'
readonly red=$(tput setaf 1)
readonly reset=$(tput sgr0)
KUBE_ROOT=$(dirname "${BASH_SOURCE}")/../..
ALL_TARGETS=$(make -C "${KUBE_ROOT}" PRINT_HELP=y -rpn | sed -n -e '/^$/ { n ; /^[^ .#][^ ]*:/ { s/:.*$// ; p ; } ; }' | sort)