mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-27 05:27:21 +00:00
Merge pull request #35475 from mikedanese/realpath
Automatic merge from submit-queue fix realpath issue on mac
This commit is contained in:
commit
c818167513
@ -18,6 +18,7 @@ set -o nounset
|
|||||||
set -o pipefail
|
set -o pipefail
|
||||||
|
|
||||||
export KUBE_ROOT=$(dirname "${BASH_SOURCE}")/..
|
export KUBE_ROOT=$(dirname "${BASH_SOURCE}")/..
|
||||||
|
source "${KUBE_ROOT}/hack/lib/init.sh"
|
||||||
|
|
||||||
go get -u github.com/mikedanese/gazel
|
go get -u github.com/mikedanese/gazel
|
||||||
"${GOPATH}/bin/gazel" -root="$(realpath ${KUBE_ROOT})"
|
"${GOPATH}/bin/gazel" -root="$(kube::realpath ${KUBE_ROOT})"
|
||||||
|
@ -18,9 +18,10 @@ set -o nounset
|
|||||||
set -o pipefail
|
set -o pipefail
|
||||||
|
|
||||||
export KUBE_ROOT=$(dirname "${BASH_SOURCE}")/..
|
export KUBE_ROOT=$(dirname "${BASH_SOURCE}")/..
|
||||||
|
source "${KUBE_ROOT}/hack/lib/init.sh"
|
||||||
|
|
||||||
go get -u github.com/mikedanese/gazel
|
go get -u github.com/mikedanese/gazel
|
||||||
if [[ $("${GOPATH}/bin/gazel" -dry-run -root="$(realpath ${KUBE_ROOT})" |& tee /dev/stderr | wc -l) != 0 ]]; then
|
if [[ $("${GOPATH}/bin/gazel" -dry-run -root="$(kube::realpath ${KUBE_ROOT})" |& tee /dev/stderr | wc -l) != 0 ]]; then
|
||||||
echo
|
echo
|
||||||
echo "BUILD files are not up to date"
|
echo "BUILD files are not up to date"
|
||||||
echo "Run ./hack/update-bazel.sh"
|
echo "Run ./hack/update-bazel.sh"
|
||||||
|
Loading…
Reference in New Issue
Block a user