mirror of https://github.com/k3s-io/k3s
Allow KUBE_ROOT to be defined externally
parent
ff1da7674d
commit
19f3500c9a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue