From b38722661847f81cbbdc3b3d3550d6256f41e161 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Mon, 29 Jul 2024 20:19:27 +0200 Subject: [PATCH] script bytes --- spcd.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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}"