Skip to content

Commit

Permalink
Toolchain: Use check_sha256() in BuildQemu.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
nico authored and BertalanD committed Jun 29, 2024
1 parent c1c00f9 commit 311af9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Toolchain/BuildQemu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ pushd "$DIR/Tarballs"
echo "Skipped downloading ${QEMU_ARCHIVE}"
fi

if ! sha256sum --status -c <(echo "${QEMU_ARCHIVE_SHA256SUM}" "${QEMU_ARCHIVE}"); then
if ! check_sha256 "${QEMU_ARCHIVE}" "${QEMU_ARCHIVE_SHA256SUM}"; then
echo "qemu sha256 sum mismatching, please run script again."
rm -f "${QEMU_ARCHIVE}"
exit 1
Expand Down

0 comments on commit 311af9a

Please sign in to comment.