Skip to content

Commit

Permalink
use relative root instead of GOPATH
Browse files Browse the repository at this point in the history
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
  • Loading branch information
dims committed Jun 30, 2023
1 parent 3a16700 commit 5d37596
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion hack/bump-k8s.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#!/bin/bash

pushd "$(go env GOPATH)/src/k8s.io/kubernetes" >/dev/null
KUBE_ROOT=$(dirname "${BASH_SOURCE}")/../../../k8s.io/kubernetes/

pushd "${KUBE_ROOT}" >/dev/null
git reset --hard HEAD && git clean -xdff
git fetch --all
git checkout master
Expand Down

0 comments on commit 5d37596

Please sign in to comment.