forked from sig_core/toolkit
forgot popd
This commit is contained in:
parent
e52eab3d4a
commit
c50a112344
@ -59,7 +59,7 @@ for ARCH in "${ARCHES[@]}"; do
|
|||||||
# Copy the ISO and manifests into the main isos target
|
# Copy the ISO and manifests into the main isos target
|
||||||
cp "${SOURCE}"/*.iso "${TARGET}/"
|
cp "${SOURCE}"/*.iso "${TARGET}/"
|
||||||
cp "${SOURCE}"/*.iso.manifest "${TARGET}/"
|
cp "${SOURCE}"/*.iso.manifest "${TARGET}/"
|
||||||
pushd "${TARGET}" || exit
|
pushd "${TARGET}" || { echo "Could not change directory"; break; }
|
||||||
# shellcheck disable=SC2086
|
# shellcheck disable=SC2086
|
||||||
for file in *.iso; do
|
for file in *.iso; do
|
||||||
printf "# %s: %s bytes\n%s\n" \
|
printf "# %s: %s bytes\n%s\n" \
|
||||||
@ -68,6 +68,7 @@ for ARCH in "${ARCHES[@]}"; do
|
|||||||
"$(sha256sum --tag ${file})" \
|
"$(sha256sum --tag ${file})" \
|
||||||
| sudo tee -a CHECKSUM;
|
| sudo tee -a CHECKSUM;
|
||||||
done
|
done
|
||||||
|
popd || { echo "Could not change directory"; break; }
|
||||||
done
|
done
|
||||||
done
|
done
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user