summaryrefslogtreecommitdiff
path: root/include/get.sh
diff options
context:
space:
mode:
Diffstat (limited to 'include/get.sh')
-rw-r--r--include/get.sh3
1 files changed, 2 insertions, 1 deletions
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