fix realpath issue on mac

This commit is contained in:
Mike Danese
2016-10-24 17:10:47 -07:00
parent 377967935b
commit d380cb1da3
2 changed files with 4 additions and 2 deletions

View File

@@ -18,6 +18,7 @@ set -o nounset
set -o pipefail
export KUBE_ROOT=$(dirname "${BASH_SOURCE}")/..
source "${KUBE_ROOT}/hack/lib/init.sh"
go get -u github.com/mikedanese/gazel
"${GOPATH}/bin/gazel" -root="$(realpath ${KUBE_ROOT})"
"${GOPATH}/bin/gazel" -root="$(kube::realpath ${KUBE_ROOT})"