watermill icon indicating copy to clipboard operation
watermill copied to clipboard

[watermill-kafka] make update_watermill failed with `sed: 1: "go.mod": extra characters at the end of g command`

Open tjnet opened this issue 1 year ago • 0 comments

After follwing the standard setup procedure, running make update_watermill on MacOS Monterey

output:

go get -u github.com/ThreeDotsLabs/watermill
go mod tidy
sed -i '\|go 1\.|d' go.mod
sed: 1: "go.mod": extra characters at the end of g command

Replacing macOS builtin sed with gsed from brew install gnu-sed resolves the issue.

tjnet avatar May 29 '23 00:05 tjnet