Skip to content

Commit

Permalink
base: fix musl build: change --check to -c
Browse files Browse the repository at this point in the history
Alpine sha256 has only -c, but it does the same thing.
  • Loading branch information
marcofilho committed Nov 12, 2024
1 parent bfe2434 commit 715f556
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/lnls-get-n-unpack.sh
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ shacheck() {
exit 1
fi

if ! echo $sha $downloaded_file | sha256sum --check; then
if ! echo $sha $downloaded_file | sha256sum -c; then
echo "ERROR: SHA $sha for URL $url does not match."
exit 1
fi
Expand Down

0 comments on commit 715f556

Please sign in to comment.