diff --git a/export-image/04-finalise/01-run.sh b/export-image/04-finalise/01-run.sh index 486d663e..b4906535 100755 --- a/export-image/04-finalise/01-run.sh +++ b/export-image/04-finalise/01-run.sh @@ -89,9 +89,9 @@ mkdir -p "${DEPLOY_DIR}" rm -f "${DEPLOY_DIR}/${ZIP_FILENAME}${IMG_SUFFIX}.zip" rm -f "${DEPLOY_DIR}/${IMG_FILENAME}${IMG_SUFFIX}.img" pushd "${STAGE_WORK_DIR}" > /dev/null - MD5HASH="${STAGE_WORK_DIR}/${IMG_FILENAME}.img.md5" - SHA1HASH="${STAGE_WORK_DIR}/${IMG_FILENAME}.sha1" - SHA256HASH="${STAGE_WORK_DIR}/${IMG_FILENAME}.sha256" + MD5HASH="${STAGE_WORK_DIR}/${IMG_FILENAME}${IMG_SUFFIX}.img.md5" + SHA1HASH="${STAGE_WORK_DIR}/${IMG_FILENAME}${IMG_SUFFIX}.sha1" + SHA256HASH="${STAGE_WORK_DIR}/${IMG_FILENAME}${IMG_SUFFIX}.sha256" md5sum "$(basename "${IMG_FILE}")" > "$(basename "${MD5HASH}")" sha1sum "$(basename "${IMG_FILE}")" > "$(basename "${SHA1HASH}")" sha256sum "$(basename "${IMG_FILE}")" > "$(basename "${SHA256HASH}")"