Commit 20226d7c authored by brendandburns's avatar brendandburns

Merge pull request #438 from brendandburns/shell

Fix build script for os x.
parents f84a948c 96187c10
...@@ -37,8 +37,13 @@ if [ "${TRAVIS}" != "true" ]; then ...@@ -37,8 +37,13 @@ if [ "${TRAVIS}" != "true" ]; then
fi fi
fi fi
KUBE_REPO_REL_ROOT="$(dirname ${BASH_SOURCE:-$0})/.." if [[ "$OSTYPE" == *darwin* ]]; then
KUBE_REPO_ROOT="$(readlink -f ${KUBE_REPO_REL_ROOT})" 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" KUBE_TARGET="${KUBE_REPO_ROOT}/output/go"
mkdir -p "${KUBE_TARGET}" 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