From 23913bb8d2aa80452c381086b7513587badcd1e4 Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Mon, 12 May 2025 16:20:34 +0100 Subject: lib.sh: move mksha512sum() to vendor.sh this is unused in cbmk. it's only used from vendor.sh. therefore, lbmk shall have it in vendor.sh. Signed-off-by: Leah Rowe --- include/lib.sh | 8 -------- 1 file changed, 8 deletions(-) (limited to 'include/lib.sh') diff --git a/include/lib.sh b/include/lib.sh index fc26c733..d5607c61 100644 --- a/include/lib.sh +++ b/include/lib.sh @@ -29,14 +29,6 @@ mktarball() x_ tar -c "$1" | xz -T$XBMK_THREADS -9e > "$2" || err "mktarball2, $1" } -mksha512sum() -{ - ( - [ "${1%/*}" != "$1" ] && x_ cd "${1%/*}" - sha512sum ./"${1##*/}" >> "$2" || err "!sha512sum \"$1\" > \"$2\"" - ) || err "failed to create tarball checksum" -} - rmgit() { fx_ "x_ rm -Rf" x_ find "$1" -name ".git" -- cgit v1.2.1