Avoid redeclaration errors for kube-up.sh

This commit is contained in:
Satnam Singh 2014-12-15 15:04:21 -08:00
parent 2c64db5943
commit c928c43a15

View File

@ -23,9 +23,10 @@
KUBERNETES_PROVIDER=${KUBERNETES_PROVIDER:-gce} KUBERNETES_PROVIDER=${KUBERNETES_PROVIDER:-gce}
# Some useful colors. # Some useful colors.
declare -r color_start="\033[" if [[ -z "${color_start-}" ]]; then
declare -r color_red="${color_start}0;31m" declare -r color_start="\033["
declare -r color_yellow="${color_start}0;33m" declare -r color_red="${color_start}0;31m"
declare -r color_green="${color_start}0;32m" declare -r color_yellow="${color_start}0;33m"
declare -r color_norm="${color_start}0m" declare -r color_green="${color_start}0;32m"
declare -r color_norm="${color_start}0m"
fi