diff --git a/spcd.sh b/spcd.sh index 78c0412..de5db94 100644 --- a/spcd.sh +++ b/spcd.sh @@ -707,8 +707,10 @@ ${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 "${SPCD}" | wc -c + spcd_ipm__file="${spcd_ipm__root}/spcd.sh" + echo "${SPCD}" > "${spcd_ipm__file}" + ls -l "${spcd_ipm__file}" + sha256sum "${spcd_ipm__file}" sha256sum "${spcd_ipm__script}" fi spcd_ipm__path="${spcd_ipm__root}/${spcd_ipm__name}/${spcd_ipm__name}"