summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/install.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/install.sh b/src/install.sh
index 5748005..513de1a 100644
--- a/src/install.sh
+++ b/src/install.sh
@@ -209,7 +209,7 @@ install_get_pkgs()
if [ "x${sha256sum}" != 'x' ]; then
printf '%s %s\n' \
"${sha256sum}" "${chroot}/${fname}" | \
- sha256sum -c >/dev/null 2>&1 || \
+ ${SHA256SUM} -c >/dev/null 2>&1 || \
error 2 "$(get_msg 'install_checksum_fail')"
fi