mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-31 15:25:57 +00:00
Merge pull request #640 from rafael/fix-realpath-issue-on-mac
Solve issue with realpath on Mac OS X.
This commit is contained in:
commit
d5a3e8d7cc
@ -26,8 +26,7 @@ set -e
|
||||
SCRIPT_DIR=$(CDPATH="" cd $(dirname $0); pwd)
|
||||
|
||||
source $SCRIPT_DIR/config.sh
|
||||
|
||||
KUBE_REPO_ROOT="$(realpath "$(dirname $0)/..")"
|
||||
KUBE_REPO_ROOT="$(cd "$(dirname "$0")/../" && pwd -P)"
|
||||
|
||||
source "${KUBE_REPO_ROOT}/cluster/kube-env.sh"
|
||||
source $(dirname ${BASH_SOURCE})/../cluster/${KUBERNETES_PROVIDER}/${KUBE_CONFIG_FILE-"config-default.sh"}
|
||||
|
Loading…
Reference in New Issue
Block a user