From b4704c9a32767f8b074476ae670ce1ebd956c06f Mon Sep 17 00:00:00 2001 From: Paolo Di Tommaso Date: Tue, 19 Apr 2016 13:47:05 +0200 Subject: [PATCH] Update kubectl.sh --- cluster/kubectl.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cluster/kubectl.sh b/cluster/kubectl.sh index 85cc9d00192..be648922869 100755 --- a/cluster/kubectl.sh +++ b/cluster/kubectl.sh @@ -30,7 +30,7 @@ set -o pipefail # echo "-=-=-=-=-=-=-=-=-=-=" -KUBE_ROOT=${KUBE_ROOT:-dirname "${BASH_SOURCE}")/..} +KUBE_ROOT=${KUBE_ROOT:-$(dirname "${BASH_SOURCE}")/..} source "${KUBE_ROOT}/cluster/kube-util.sh" # Get the absolute path of the directory component of a file, i.e. the