Merge branch 'devel' into 'main'

forgot popd

See merge request release-engineering/public/toolkit!38
This commit is contained in:
Louis Abel 2021-11-11 15:25:47 +00:00
commit 29bd9fe10e
1 changed files with 2 additions and 1 deletions

View File

@ -59,7 +59,7 @@ for ARCH in "${ARCHES[@]}"; do
# Copy the ISO and manifests into the main isos target
cp "${SOURCE}"/*.iso "${TARGET}/"
cp "${SOURCE}"/*.iso.manifest "${TARGET}/"
pushd "${TARGET}" || exit
pushd "${TARGET}" || { echo "Could not change directory"; break; }
# shellcheck disable=SC2086
for file in *.iso; do
printf "# %s: %s bytes\n%s\n" \
@ -68,6 +68,7 @@ for ARCH in "${ARCHES[@]}"; do
"$(sha256sum --tag ${file})" \
| sudo tee -a CHECKSUM;
done
popd || { echo "Could not change directory"; break; }
done
done