diff --git a/Makefile b/Makefile index 6752220fb4..accb05efab 100644 --- a/Makefile +++ b/Makefile @@ -289,8 +289,8 @@ cross-lint: $(TOOLS_BINDIR)/golangci-lint .PHONY: gen_release_info gen_release_info: @cat release-info.json.sample | sed s/@CRC_VERSION@/$(CRC_VERSION)/ > $(RELEASE_INFO) - @sed -i s/@GIT_COMMIT_SHA@/$(COMMIT_SHA)/ $(RELEASE_INFO) - @sed -i s/@OPENSHIFT_VERSION@/$(OPENSHIFT_VERSION)/ $(RELEASE_INFO) + @sed -i'' -e s/@GIT_COMMIT_SHA@/$(COMMIT_SHA)/ $(RELEASE_INFO) + @sed -i'' -e s/@OPENSHIFT_VERSION@/$(OPENSHIFT_VERSION)/ $(RELEASE_INFO) check-release-info: gen_release_info cat $(RELEASE_INFO) |jq .