Skip to content

Commit

Permalink
Make cluster/common.sh work even if ${HOME} is unset.
Browse files Browse the repository at this point in the history
  • Loading branch information
mml committed Aug 30, 2017
1 parent ef03933 commit 96d05b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cluster/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 96d05b0

Please sign in to comment.