Fix unbound variable after #7146

pull/6/head
Zach Loafman 2015-04-22 10:19:46 -07:00
parent 93207bfd1c
commit 0e3e502d52
2 changed files with 2 additions and 0 deletions

View File

@ -56,6 +56,7 @@ function verify-prereqs {
if [[ "${KUBE_PROMPT_FOR_UPDATE}" != "y" ]]; then
gcloud_prompt="-q"
fi
local sudo_prefix=""
if [ ! -w $(dirname `which gcloud`) ]; then
sudo_prefix="sudo"
fi

View File

@ -94,6 +94,7 @@ function verify-prereqs() {
if [[ "${KUBE_PROMPT_FOR_UPDATE}" != "y" ]]; then
gcloud_prompt="-q"
fi
local sudo_prefix=""
if [ ! -w $(dirname `which gcloud`) ]; then
sudo_prefix="sudo"
fi