kiss: fix checksums

This commit is contained in:
Dylan Araps 2020-11-27 06:22:57 +02:00
parent 9f82ac1cd7
commit c89c84377e
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E
1 changed files with 2 additions and 0 deletions

2
kiss
View File

@ -122,6 +122,8 @@ sh256() {
shasum -a 256 "$1" ||
digest -a sha256 "$1"
) 2>/dev/null
printf '%s\n' "${hash%% *}"
fi
}