prysmaticlabs / prysm

Use double quote to prevent globbing and word splitting SH-2086
Bug risk
Major
2 months ago3 years old
Double quote to prevent globbing and word splitting
21done
22
23# Run spectests
24bazel test //testing/spectest/... --test_env=SPEC_TEST_REPORT_OUTPUT_DIR="$BAZEL_DIR" $BAZEL_FLAGS25
26# Ensure the SPEC_DIR exists and is a git repository
27if [ -d "$SPEC_DIR/.git" ]; then
Double quote to prevent globbing and word splitting
 9tar --strip=1 -xzf osxcross.tar.gz
10rm -f osxcross.tar.gz
11
12curl -sLo tarballs/${OSX_SDK}.tar.xz "https://prysmaticlabs.com/uploads/${OSX_SDK}.tar.xz"13
14echo "${OSX_SDK_SUM}"  "tarballs/${OSX_SDK}.tar.xz" | sha256sum -c -
15yes "" | SDK_VERSION=12.3 OSX_VERSION_MIN=11.0 OCDEBUG=1 ./build.sh
Double quote to prevent globbing and word splitting
36
37### Prysmctl
38bazel run --config=release \
39  //cmd/prysmctl:push_oci_image -- --tag=$TAG
Double quote to prevent globbing and word splitting
32
33### Validator
34bazel run --config=release \
35  //cmd/validator:push_oci_image -- --tag=$TAG36
37### Prysmctl
38bazel run --config=release \
Double quote to prevent globbing and word splitting
28
29### Beacon chain (blst portable image)
30bazel run --config=release --define=blst_modern=false \
31  //cmd/beacon-chain:push_oci_image -- --tag=$TAG-portable32
33### Validator
34bazel run --config=release \