From 8b9fe76af6536409465200049881e27451148e32 Mon Sep 17 00:00:00 2001 From: nazunalika Date: Thu, 11 Nov 2021 18:24:37 -0700 Subject: [PATCH] redundant sha --- sync/minor-release-sync-to-staging.sh | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/sync/minor-release-sync-to-staging.sh b/sync/minor-release-sync-to-staging.sh index d1e25bf..fbc6a19 100644 --- a/sync/minor-release-sync-to-staging.sh +++ b/sync/minor-release-sync-to-staging.sh @@ -60,16 +60,16 @@ for ARCH in "${ARCHES[@]}"; do cp "${SOURCE}"/*.iso "${TARGET}/" cp "${SOURCE}"/*.iso.manifest "${TARGET}/" pushd "${TARGET}" || { echo "Could not change directory"; break; } - # shellcheck disable=SC2086 - for file in *.iso; do - printf "# %s: %s bytes\n%s\n" \ - "${file}" \ - "$(stat -c %s ${file})" \ - "$(sha256sum --tag ${file})" \ - | sudo tee -a CHECKSUM; - done - popd || { echo "Could not change directory"; break; } done + # shellcheck disable=SC2086 + for file in *.iso; do + printf "# %s: %s bytes\n%s\n" \ + "${file}" \ + "$(stat -c %s ${file})" \ + "$(sha256sum --tag ${file})" \ + | sudo tee -a CHECKSUM; + done + popd || { echo "Could not change directory"; break; } done # make a kickstart directory