From 33dc0435e73778a0da75fa7102c8c73e81415644 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Fri, 3 Jan 2020 16:02:06 +1000 Subject: [PATCH] BSD wants -i '', GNU wants -i'' --- rspy/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rspy/Makefile b/rspy/Makefile index a895af7b8..7215bf937 100644 --- a/rspy/Makefile +++ b/rspy/Makefile @@ -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 $@