prysmaticlabs / prysm

Double quote array expansions to avoid re-splitting elements SH-2068
Bug risk
Major
3 months ago3 years old
Double quote array expansions to avoid re-splitting elements
 4# Script to copy ssz.go files from bazel build folder to appropriate location.
 5# Bazel builds to bazel-bin/... folder, script copies them back to original folder where target is.
 6
 7bazel query 'kind(ssz_gen_marshal, //proto/...)' | xargs bazel build $@ 8
 9# Get locations of proto ssz.go files.
10file_list=()
Double quote array expansions to avoid re-splitting elements
 4# Script to copy pb.go files from bazel build folder to appropriate location.
 5# Bazel builds to bazel-bin/... folder, script copies them back to original folder where .proto is.
 6
 7bazel query 'attr(testonly, 0, //proto/...)' | xargs bazel build $@ 8
 9file_list=()
10while IFS= read -d $'\0' -r file; do