Skip to content

Commit

Permalink
fix: use sed extended regex for Mac OS compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
pdecat committed Jun 19, 2024
1 parent 68e1f88 commit f6e7e53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/install
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ get_url() {
else
url=$( \
curl -s $BASE_URL \
| sed -n 's/"tarball": "\(.*\/\(download\|builds\)\/.*zig-'"$platform"'-'"$arch"'-'"$version"'\.tar.*\)",/\1/p' \
| sed -E -n 's/"tarball": "(.*\/(download|builds)\/.*zig-'"$platform"'-'"$arch"'-'"$version"'\.tar.*)",/\1/p' \
)
fi

Expand Down

0 comments on commit f6e7e53

Please sign in to comment.