mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-06 10:43:56 +00:00
Merge pull request #24337 from pditommaso/patch-1
Automatic merge from submit-queue Allow KUBE_ROOT to be defined externally
This commit is contained in:
commit
fa3c49b86c
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user