From 8969cc734f8f9855fa4bbfa92c18224adb9e5ddc Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Sat, 4 Oct 2025 09:56:42 +0100 Subject: xbmk: use sbase sha512sum, not host sha512sum the --status flag seems to be a GNUism as stated in the previous commit, i import sbase suckless now, so as to have a consistent implementation of sha512sum. this ensures that its output is reliable, when i'm using the output of this command within backticks. Signed-off-by: Leah Rowe --- include/get.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/get.sh') diff --git a/include/get.sh b/include/get.sh index a0f7fb20..3c30b6d3 100644 --- a/include/get.sh +++ b/include/get.sh @@ -313,7 +313,8 @@ bad_checksum() return 0 fi - csum="$(x_ sha512sum "$2" | awk '{print $1}')" || \ + build_sbase + csum="$(x_ "$sha512sum" "$2" | awk '{print $1}')" || \ err "!sha512 '$2' $1" bad_checksum "$@" if [ "$csum" = "$1" ]; then -- cgit v1.2.1