diff --git a/spcd.sh b/spcd.sh index 23d82c2..dbb374d 100644 --- a/spcd.sh +++ b/spcd.sh @@ -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}"