We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a5cddf commit d9afffaCopy full SHA for d9afffa
tools/dep_updaters/utils.sh
@@ -13,11 +13,11 @@ log_and_verify_sha256sum() {
13
package_name="$1"
14
archive="$2"
15
checksum="$3"
16
- bsd_formatted_checksum=$(sha256sum --tag "$archive")
+ bsd_formatted_checksum=$(shasum -a 256 --tag "$archive")
17
if [ -z "$3" ]; then
18
echo "$bsd_formatted_checksum"
19
else
20
- archive_checksum=$(sha256sum "$archive")
+ archive_checksum=$(shasum -a 256 "$archive")
21
if [ "$checksum" = "$archive_checksum" ]; then
22
echo "Valid $package_name checksum"
23
0 commit comments