Commit d1cb1de5 authored by Wojciech Tyczynski's avatar Wojciech Tyczynski

Fix unbound variable issue

parent 0f144fd3
......@@ -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"
......
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