jessecureton / python_bazel_template

An opinionated Python + Go + Bazel tempate repo
MIT License
21 stars 3 forks source link

handle differences between bsd and gnu sed in eject script #9

Closed jessecureton closed 2 years ago

jessecureton commented 2 years ago

macOS uses BSD sed out of the box, and vs GNU sed it treats the -i argument for in-place edits slightly differently. This updates the eject script to use a different argument between macOS and Linux.