Skip to content

Commit

Permalink
Merge pull request DanielGavin#572 from glektarssza/bugfix/sed-on-macos
Browse files Browse the repository at this point in the history
Adjust `sed` call in `build.sh`
  • Loading branch information
DanielGavin authored Jan 8, 2025
2 parents 9965659 + 67bae4d commit a9853fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,6 @@ fi

version="$(git describe --tags --abbrev=7)"
version="${version%-*}:${version##*-}"
sed -i "s|VERSION :: .*|VERSION :: \"${version}\"|g" src/main.odin
sed -i "" "s|VERSION :: .*|VERSION :: \"${version}\"|g" src/main.odin

odin build src/ -show-timings -collection:src=src -out:ols -microarch:native -no-bounds-check -o:speed $@

0 comments on commit a9853fc

Please sign in to comment.