Verified Commit c50a1123 authored by Louis Abel's avatar Louis Abel 📺
Browse files

forgot popd

parent e52eab3d
Pipeline #112 passed with stage
in 31 seconds
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment