File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 53
53
./hack/update-translations.sh
54
54
./hack/update-vendor-licenses.sh
55
55
./hack/update-vendor.sh
56
- ./hack/update-workspace-mirror.sh
57
56
./hack/verify-api-groups.sh
58
57
./hack/verify-boilerplate.sh
59
58
./hack/verify-cli-conventions.sh
Original file line number Diff line number Diff line change @@ -29,8 +29,8 @@ BUCKET="gs://k8s-bazel-cache"
29
29
gsutil acl get " ${BUCKET} " > /dev/null
30
30
31
31
tmpfile=$( mktemp bazel_workspace_mirror.XXXXXX)
32
- trap " rm ${tmpfile} " EXIT
33
- cat " $1 " | while read url; do
32
+ trap ' rm ${tmpfile}' EXIT
33
+ while read -r url; do
34
34
echo " ${url} "
35
35
if gsutil ls " ${BUCKET} /${url} " & > /dev/null; then
36
36
echo present
@@ -40,4 +40,4 @@ cat "$1" | while read url; do
40
40
gsutil cp -a public-read " ${tmpfile} " " ${BUCKET} /${url} "
41
41
fi
42
42
fi
43
- done
43
+ done < " $1 "
You can’t perform that action at this time.
0 commit comments