Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: Use backup file in gen_release_info
Using `sed -i` cross-platform is problematic as the `-i` flag does not behave the same on macOS and linux (see 5e561ad). The `sed` on macOS currently treat `-e` as a backup extension while on linux it's treated as a flag. This does not seem to make a difference, but it is very magic. This commit specifies a backup extension to `sed -i`, which works for me on macOS and linux. `-e` will be used as a flag on all platforms. Signed-off-by: Christophe Fergeau <[email protected]>
- Loading branch information