mirror of
https://github.com/SerenityOS/serenity
synced 2024-10-02 22:24:26 +00:00
Toolchain: Use check_sha256() in BuildQemu.sh
This commit is contained in:
parent
c1c00f9104
commit
311af9ad05
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue