Allow KUBE_ROOT to be defined externally

pull/6/head
Paolo Di Tommaso 2016-04-15 18:34:09 +02:00
parent ff1da7674d
commit 19f3500c9a
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ set -o pipefail
# echo "-=-=-=-=-=-=-=-=-=-="
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