File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 42
42
./hack/verify-codegen.sh
43
43
./hack/verify-golint.sh
44
44
./hack/verify-no-vendor-cycles.sh
45
- ./hack/verify-openapi-spec.sh
46
45
./hack/verify-test-featuregates.sh
47
46
./test/cmd/apply.sh
48
47
./test/cmd/apps.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::golang::setup_env
@@ -32,10 +32,10 @@ _tmp="${KUBE_ROOT}/_tmp"
32
32
33
33
mkdir -p " ${_tmp} "
34
34
cp -a " ${SPECROOT} " " ${TMP_SPECROOT} "
35
- trap " cp -a ${TMP_SPECROOT} ${SPECROOT} /..; rm -rf ${_tmp} " EXIT SIGINT
36
- rm ${SPECROOT} /*
37
- cp ${TMP_SPECROOT} /BUILD ${SPECROOT} /BUILD
38
- cp ${TMP_SPECROOT} /README.md ${SPECROOT} /README.md
35
+ trap ' cp -a " ${TMP_SPECROOT}" " ${SPECROOT}" /..; rm -rf " ${_tmp}"' EXIT SIGINT
36
+ rm " ${SPECROOT} " /*
37
+ cp " ${TMP_SPECROOT} /BUILD" " ${SPECROOT} /BUILD"
38
+ cp " ${TMP_SPECROOT} /README.md" " ${SPECROOT} /README.md"
39
39
40
40
" ${KUBE_ROOT} /hack/update-openapi-spec.sh"
41
41
echo " diffing ${SPECROOT} against freshly generated openapi spec"
You can’t perform that action at this time.
0 commit comments