[scripts] post_mmc_image_script.sh: make sure to not leave zombies (*.img.md5)
This commit is contained in:
parent
2f8f58baf4
commit
534d6e418e
@ -26,6 +26,8 @@ chmod 644 "${COMPRESSED_IMAGE_PATH}" || exit 1
|
||||
|
||||
cd "$(dirname "${COMPRESSED_IMAGE_PATH}")" || exit 1
|
||||
img_name=$(basename "${COMPRESSED_IMAGE_PATH}")
|
||||
# make sure to not leave zombies
|
||||
rm -f "${img_name}.md5"
|
||||
md5sum "${img_name}" > "${COMPRESSED_IMAGE_CHECKSUM_PATH}" || exit 1
|
||||
|
||||
echo "All done"
|
||||
|
Loading…
Reference in New Issue
Block a user