Skip to content

Commit

Permalink
Use generic command for SHA-256
Browse files Browse the repository at this point in the history
The command sha256sum does not exist on macOS, but `shasum -a256` works
both on Linux and macOS.

Co-authored-by: Romain Vimont <[email protected]>
  • Loading branch information
muvaf and rom1v committed Nov 23, 2024
1 parent 4771c89 commit 2a72a7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/deps/common
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ checksum() {
local file="$1"
local sum="$2"
echo "$file: verifying checksum..."
echo "$sum $file" | sha256sum -c
echo "$sum $file" | shasum -a256 -c
}

get_file() {
Expand Down

0 comments on commit 2a72a7f

Please sign in to comment.