[molecules/scripts] generate md5 files without full path

This commit is contained in:
Fabio Erculiani 2011-10-10 22:10:50 +02:00
parent 421680e68e
commit 737590a69a

View File

@ -17,6 +17,8 @@ echo "ISO_CHECKSUM_PATH = ${ISO_CHECKSUM_PATH}"
echo
isohybrid "${ISO_PATH}" || exit 1
md5sum "${ISO_PATH}" > "${ISO_CHECKSUM_PATH}"
cd "$(dirname "${ISO_PATH}")" || exit 1
iso_name=$(basename "${ISO_PATH}")
md5sum "${iso_name}" > "${ISO_CHECKSUM_PATH}"
exit ${?}