File tree Expand file tree Collapse file tree 3 files changed +5
-6
lines changed Expand file tree Collapse file tree 3 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 26
26
./cluster/validate-cluster.sh
27
27
./hack/cherry_pick_pull.sh
28
28
./hack/ginkgo-e2e.sh
29
- ./hack/godep-restore.sh
30
- ./hack/godep-save.sh
31
29
./hack/grab-profiles.sh
32
30
./hack/jenkins/benchmark-dockerized.sh
33
31
./hack/jenkins/build.sh
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ set -o errexit
18
18
set -o nounset
19
19
set -o pipefail
20
20
21
- KUBE_ROOT=$( dirname " ${BASH_SOURCE} " ) /..
21
+ KUBE_ROOT=$( dirname " ${BASH_SOURCE[0] } " ) /..
22
22
source " ${KUBE_ROOT} /hack/lib/init.sh"
23
23
24
24
kube::log::status " Restoring kubernetes godeps"
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ set -o errexit
18
18
set -o nounset
19
19
set -o pipefail
20
20
21
- KUBE_ROOT=$( dirname " ${BASH_SOURCE} " ) /..
21
+ KUBE_ROOT=$( dirname " ${BASH_SOURCE[0] } " ) /..
22
22
source " ${KUBE_ROOT} /hack/lib/init.sh"
23
23
24
24
kube::log::status " Ensuring prereqs"
@@ -88,11 +88,12 @@ kube::log::status "Running godep save - this might take a while"
88
88
# This uses $(pwd) rather than ${KUBE_ROOT} because KUBE_ROOT will be
89
89
# realpath'ed, and godep barfs ("... is not using a known version control
90
90
# system") on our staging dirs.
91
- GOPATH=" ${GOPATH} :$( pwd) /staging" ${KUBE_GODEP:? } save -i $( IFS=,; echo " ${IGNORED_PACKAGES[*]} " ) " ${REQUIRED_BINS[@]} "
91
+ GOPATH=" ${GOPATH} :$( pwd) /staging" " ${KUBE_GODEP:? } " save -i " $( IFS=,; echo " ${IGNORED_PACKAGES[*]} " ) " " ${REQUIRED_BINS[@]} "
92
92
93
93
# create a symlink in vendor directory pointing to the staging client. This
94
94
# let other packages use the staging client as if it were vendored.
95
- for repo in $( ls staging/src/k8s.io) ; do
95
+ for repo in staging/src/k8s.io/* ; do
96
+ repo=" ${repo# staging/ src/ k8s.io/ } "
96
97
if [ ! -e " vendor/k8s.io/${repo} " ]; then
97
98
ln -s " ../../staging/src/k8s.io/${repo} " " vendor/k8s.io/${repo} "
98
99
fi
You can’t perform that action at this time.
0 commit comments