Commit 96187c10 authored by Brendan Burns's avatar Brendan Burns

Fix build script for os x.

parent f84a948c
......@@ -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}"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment