aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesus <heckyel@riseup.net>2023-09-25 01:59:16 +0800
committerJesus <heckyel@riseup.net>2023-09-25 01:59:16 +0800
commitfc1365f2b23d75d801993732f0a16b56682522f5 (patch)
tree505c7ef1580bacc7d1ff1b3432f5e7654a3fb3b5
parent5b0b70e3ec416f8bfdfe3a65c853e3bbc403d923 (diff)
downloadhyperbola-bootstrap-fc1365f2b23d75d801993732f0a16b56682522f5.tar.lz
hyperbola-bootstrap-fc1365f2b23d75d801993732f0a16b56682522f5.tar.xz
hyperbola-bootstrap-fc1365f2b23d75d801993732f0a16b56682522f5.zip
Fix make 512 checksum
-rw-r--r--make-bootstrap-file.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/make-bootstrap-file.sh b/make-bootstrap-file.sh
index 16cf769..94d987d 100644
--- a/make-bootstrap-file.sh
+++ b/make-bootstrap-file.sh
@@ -69,7 +69,7 @@ printf '%b%s%b%s%b\n' '\e[1;32m' '==> ' '\e[0m\033[1m' "Make hyperbola-bootstrap
(cd "${RESULTPATH}/${ROOTFS}" && tar --create --gzip --numeric-owner --xattrs --acls --file="${SCRIPT_PWD}/hyperbola-bootstrap-${ARCH}.tar.gz" *)
# Make sha512sum
-sha512sum "${RESULTPATH}/hyperbola-bootstrap-${ARCH}.tar.gz" >| "${RESULTPATH}/hyperbola-bootstrap-${ARCH}.tar.gz.sha512sum"
+(cd ${RESULTPATH} && sha512sum "hyperbola-bootstrap-${ARCH}.tar.gz" >| "hyperbola-bootstrap-${ARCH}.tar.gz.sha512sum")
# Clean chroot temp
case $CHROOT_DELETE in