script bytes

This commit is contained in:
Marc Beninca 2024-07-29 20:19:27 +02:00
parent 43dd22ff9c
commit b387226618
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -707,7 +707,8 @@ ${spcd_ipm__url}
exit
spcd_ipm__script="${spcd_ipm__root}/${spcd_ipm__name}/spcd.sh"
if [ -f "${spcd_ipm__script}" ]; then
echo "${SPCD}" | sha256sum
echo -n "${SPCD}" | sha256sum
echo -n "${SPCD}" | wc --bytes
sha256sum "${spcd_ipm__script}"
fi
spcd_ipm__path="${spcd_ipm__root}/${spcd_ipm__name}/${spcd_ipm__name}"