Fix unbound variable issue

pull/6/head
Wojciech Tyczynski 2015-12-17 13:54:56 +01:00
parent 0f144fd351
commit d1cb1de5af
1 changed files with 1 additions and 1 deletions

View File

@ -337,7 +337,7 @@ function find-release-tars() {
# This tarball is only used by Ubuntu Trusty.
KUBE_MANIFESTS_TAR=
if [[ "${KUBE_OS_DISTRIBUTION}" == "trusty" ]]; then
if [[ "${KUBE_OS_DISTRIBUTION:-}" == "trusty" ]]; then
KUBE_MANIFESTS_TAR="${KUBE_ROOT}/server/kubernetes-manifests.tar.gz"
if [[ ! -f "${KUBE_MANIFESTS_TAR}" ]]; then
KUBE_MANIFESTS_TAR="${KUBE_ROOT}/_output/release-tars/kubernetes-manifests.tar.gz"