Make cluster/common.sh work even if ${HOME} is unset.

pull/6/head
Matt Liggett 2017-08-30 15:03:31 -07:00
parent 6597f1ed4a
commit 9a21343b20
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ set -o pipefail
KUBE_ROOT=$(cd $(dirname "${BASH_SOURCE}")/.. && pwd)
DEFAULT_KUBECONFIG="${HOME}/.kube/config"
DEFAULT_KUBECONFIG="${HOME:-.}/.kube/config"
source "${KUBE_ROOT}/hack/lib/util.sh"
source "${KUBE_ROOT}/cluster/lib/logging.sh"