Skip to content

Commit 0f9536e

Browse files
committed
fix(macos): use shasum -a 256 -c instead of sha256sum -c
1 parent b3616d9 commit 0f9536e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/macos/download.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ curl -fSL "${BASE_URL}/${TAG}/checksums.txt" -o "$TMPDIR/checksums.txt"
2020
download_and_verify() {
2121
local asset="$1"
2222
curl -fSL "${BASE_URL}/${TAG}/${asset}" -o "$TMPDIR/${asset}"
23-
grep "^[0-9a-f]* ${asset}$" "$TMPDIR/checksums.txt" | (cd "$TMPDIR" && sha256sum -c)
23+
grep "^[0-9a-f]* ${asset}$" "$TMPDIR/checksums.txt" | (cd "$TMPDIR" && shasum -a 256 -c)
2424
}
2525

2626
download_and_verify "frostdart.xcframework.zip"

0 commit comments

Comments
 (0)