BSD wants -i '', GNU wants -i''

This commit is contained in:
Damien Elmes 2020-01-03 16:02:06 +10:00
parent 335430a9a6
commit 33dc0435e7

View File

@ -45,5 +45,6 @@ RUST_TOOLCHAIN := $(shell cat rust-toolchain)
VER := $(shell cat ../meta/version)
.build/vernum: ../meta/version
sed -i '' 's/.*automatically updated.*/version = "$(VER)" # automatically updated/' Cargo.toml
sed -i.bak 's/.*automatically updated.*/version = "$(VER)" # automatically updated/' Cargo.toml
rm Cargo.toml.bak
@touch $@