Commit c928c43a authored by Satnam Singh's avatar Satnam Singh

Avoid redeclaration errors for kube-up.sh

parent 2c64db59
......@@ -23,9 +23,10 @@
KUBERNETES_PROVIDER=${KUBERNETES_PROVIDER:-gce}
# Some useful colors.
declare -r color_start="\033["
declare -r color_red="${color_start}0;31m"
declare -r color_yellow="${color_start}0;33m"
declare -r color_green="${color_start}0;32m"
declare -r color_norm="${color_start}0m"
if [[ -z "${color_start-}" ]]; then
declare -r color_start="\033["
declare -r color_red="${color_start}0;31m"
declare -r color_yellow="${color_start}0;33m"
declare -r color_green="${color_start}0;32m"
declare -r color_norm="${color_start}0m"
fi
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment