mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-21 10:51:29 +00:00
Merge pull request #438 from brendandburns/shell
Fix build script for os x.
This commit is contained in:
commit
20226d7c30
@ -37,8 +37,13 @@ if [ "${TRAVIS}" != "true" ]; then
|
||||
fi
|
||||
fi
|
||||
|
||||
KUBE_REPO_REL_ROOT="$(dirname ${BASH_SOURCE:-$0})/.."
|
||||
KUBE_REPO_ROOT="$(readlink -f ${KUBE_REPO_REL_ROOT})"
|
||||
if [[ "$OSTYPE" == *darwin* ]]; then
|
||||
KUBE_REPO_ROOT="${PWD}"
|
||||
else
|
||||
KUBE_REPO_REL_ROOT="$(dirname ${BASH_SOURCE:-$0})/.."
|
||||
KUBE_REPO_ROOT="$(readlink -f ${KUBE_REPO_REL_ROOT})"
|
||||
fi
|
||||
|
||||
KUBE_TARGET="${KUBE_REPO_ROOT}/output/go"
|
||||
|
||||
mkdir -p "${KUBE_TARGET}"
|
||||
|
Loading…
Reference in New Issue
Block a user