Skip to content

Commit

Permalink
chore: fixup shasum check
Browse files Browse the repository at this point in the history
  • Loading branch information
YOU54F committed May 27, 2024
1 parent 58d557f commit dfdefae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build/download-native-libs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,10 @@ download_native() {

if [[ "$OSTYPE" == "darwin"* ]]; then
# OSX requires an empty arg passed to -i, but this doesn't work on Lin/Win
sed -Ei '' "s|../release_artifacts/.+$|$path/$dest_file|" "$path/$dest_file.sha256"
sed -Ei '' "s|\*(.*)$|\*$path/$dest_file|" "$path/$dest_file.sha256"
shasum -a 256 --check --quiet "$path/$dest_file.sha256"
else
sed -Ei "s|../release_artifacts/.+$|$path/$dest_file|" "$path/$dest_file.sha256"
sed -Ei "s|\*(.*)$|\*$path/$dest_file|" "$path/$dest_file.sha256"
if [[ "$OSTYPE" == "linux"* ]]; then
if ldd /bin/ls >/dev/null 2>&1; then
ldd_output=$(ldd /bin/ls)
Expand Down

0 comments on commit dfdefae

Please sign in to comment.