Commit 19f3500c authored by Paolo Di Tommaso's avatar Paolo Di Tommaso

Allow KUBE_ROOT to be defined externally

parent ff1da767
...@@ -30,7 +30,7 @@ set -o pipefail ...@@ -30,7 +30,7 @@ set -o pipefail
# echo "-=-=-=-=-=-=-=-=-=-=" # echo "-=-=-=-=-=-=-=-=-=-="
KUBE_ROOT=$(dirname "${BASH_SOURCE}")/.. KUBE_ROOT=${KUBE_ROOT:-dirname "${BASH_SOURCE}")/..}
source "${KUBE_ROOT}/cluster/kube-util.sh" source "${KUBE_ROOT}/cluster/kube-util.sh"
# Get the absolute path of the directory component of a file, i.e. the # Get the absolute path of the directory component of a file, i.e. the
......
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