0
0
Fork 0
mirror of https://github.com/schollz/croc.git synced 2025-10-11 13:21:00 +02:00

Fixing the macos shasum call to fit into the checksum check

This commit is contained in:
Micheal Quinn 2019-08-02 14:37:56 -05:00
parent 2c27d7aabd
commit d5a8d07d1c
No known key found for this signature in database
GPG key ID: 0E7217F3C30BA059

View file

@ -144,7 +144,7 @@ install_croc()
echo "Verifying checksum..."
if [[ $unameu == *DARWIN* ]]; then
checksum="$(shasum -a 256 ${dl}) $croc_file"
checksum="$(shasum -a 256 ${dl})"
elif [[ $unameu == "FREEBSD" ]]; then
checksum="$(sha256 -q ${dl}) $croc_file"
else