summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2015-12-07 13:48:30 (EST)
committer P. J. McDermott <pj@pehjota.net>2015-12-07 13:48:30 (EST)
commit5c44408f5485c92bdce363a05126615a4b1ac32f (patch)
tree2f6363f3274362e90b120ac28e00d9c301002e30
parentf667e1cd215fda98872d93b28bfe1e9e2fa03faf (diff)
src/install.sh: Use ${SHA256SUM}
-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