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/lib.sh | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'include/lib.sh') diff --git a/include/lib.sh b/include/lib.sh index c888200c..3d205fa9 100644 --- a/include/lib.sh +++ b/include/lib.sh @@ -162,6 +162,13 @@ unpad_one_byte() x_ mv "$unpaddedfile" "$1" } +build_sbase() +{ + if [ ! -f "$sha512sum" ]; then + x_ make -C "$xbmkpwd/util/sbase" + fi +} + fx_() { xchk fx_ "$@" -- cgit v1.2.1