Remove trailing space from shell files

This commit is contained in:
Tim Hockin
2026-05-31 19:45:36 -07:00
committed by Bowei Du
parent 418030fc81
commit 4b7372828c
5 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -52,7 +52,7 @@ if [ ! -f "$PROTOC_BIN" ]; then
echo "Downloading protoc v${PROTOC_VERSION} for ${PROTOC_PLATFORM}..."
mkdir -p "$OUT_DIR"
URL="https://github.com/protocolbuffers/protobuf/releases/download/v${PROTOC_VERSION}/protoc-${PROTOC_VERSION}-${PROTOC_PLATFORM}.zip"
case "$PROTOC_PLATFORM" in
"linux-x86_64") EXPECTED_SHA="${linux_x86_64_EXPECTED_SHA}";;
"linux-aarch_64") EXPECTED_SHA="${linux_aarch_64_EXPECTED_SHA}";;
+3 -3
View File
@@ -43,10 +43,10 @@ trap "rm -f ${tmpfile}" EXIT
for target in "${targets[@]}"; do
IFS="/" read -r target_os target_arch <<< "${target}"
# Create a temporary output folder for each target
tmp_out="$(mktemp -d -t "update-licenses-out.XXXXXX")"
GOOS="${target_os}" \
GOARCH="${target_arch}" \
CGO_ENABLED=1 \
@@ -59,7 +59,7 @@ for target in "${targets[@]}"; do
# Bug in go-licenses? Our repo gets included in a loop
rm -rf "${tmp_out}/github.com/agent-substrate/substrate"
# Merge the results into the main OUTDIR
if [ "$(ls -A "${tmp_out}")" ]; then
chmod -R u+w "${OUTDIR}" 2>/dev/null || true
+1 -1
View File
@@ -19,4 +19,4 @@ set -o errexit -o nounset -o pipefail
ROOT="$(git rev-parse --show-toplevel)"
cd "${ROOT}"
./hack/third_party/kubernetes/verify-generated.sh go-generate "$@"
./hack/third_party/kubernetes/verify-generated.sh go-generate "$@"
+1 -1
View File
@@ -19,4 +19,4 @@ set -o errexit -o nounset -o pipefail
ROOT="$(git rev-parse --show-toplevel)"
cd "${ROOT}"
./hack/third_party/kubernetes/verify-generated.sh go-mod-tidy "$@"
./hack/third_party/kubernetes/verify-generated.sh go-mod-tidy "$@"
+1 -1
View File
@@ -19,4 +19,4 @@ set -o errexit -o nounset -o pipefail
ROOT="$(git rev-parse --show-toplevel)"
cd "${ROOT}"
./hack/third_party/kubernetes/verify-generated.sh licenses "$@"
./hack/third_party/kubernetes/verify-generated.sh licenses "$@"