Fix detection of SHASUM

This commit is contained in:
Jeremy Soller 2020-05-11 19:06:51 -06:00
parent d0e33c53ef
commit 70bd7b46a4
No known key found for this signature in database
GPG Key ID: E988B49EE78A7FB1

View File

@ -13,8 +13,10 @@ export DEBUG=
export EXAMPLES=
export PREPARE_COPY=1
SHASUM="sha256sum"
if hash shasum 2>/dev/null; then
if hash sha256sum 2>/dev/null
then
SHASUM="sha256sum"
else
SHASUM="shasum -a 256"
fi