mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-06 11:42:14 +00:00
aaa
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
# cluster/${KUBERNETES_PROVIDER}/util.sh where KUBERNETES_PROVIDER, if unset,
|
||||
# will use its default value (gce).
|
||||
|
||||
KUBE_ROOT=$(dirname "${BASH_SOURCE}")/..
|
||||
KUBE_ROOT=$(dirname "${BASH_SOURCE[0]}")/..
|
||||
|
||||
source "${KUBE_ROOT}/cluster/skeleton/util.sh"
|
||||
|
||||
@@ -34,9 +34,8 @@ fi
|
||||
# this is a list of the _names_ of the variables, not the value of the
|
||||
# variables. Providers can add variables to be appended to kube-env.
|
||||
# (see `build-kube-env`).
|
||||
PROVIDER_VARS=""
|
||||
|
||||
PROVIDER_UTILS="${KUBE_ROOT}/cluster/${KUBERNETES_PROVIDER}/util.sh"
|
||||
if [ -f ${PROVIDER_UTILS} ]; then
|
||||
if [ -f "${PROVIDER_UTILS}" ]; then
|
||||
source "${PROVIDER_UTILS}"
|
||||
fi
|
||||
|
Reference in New Issue
Block a user