mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 19:31:44 +00:00
Allow KUBE_ROOT to be defined externally
This commit is contained in:
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
Block a user