Sed errors on MacOS
The issue was reported by @marcin during 1.10 sanity checks. Source.
When I build and install the agent or a server on mac, I am getting the following sed
error:
chmod 644 dist/agent/lib/systemd/system/isc-stork-agent.service
/usr/bin/sed -i s/\(ExecStart=\)/\1\/usr\/bin\//g dist/agent/lib/systemd/system/isc-stork-agent.service
sed: 1: "dist/agent/lib/systemd/ ...": extra characters at the end of d command
rake aborted!
Command failed with status (1): [/usr/bin/sed -i s/\(ExecStart=\)/\1\/usr\/...]
/Users/marcin/devel/stork/rakelib/40_dist.rake:98:in `block in <top (required)>'
/Library/Ruby/Gems/2.6.0/gems/rake-13.0.6/exe/rake:27:in `<top (required)>'
Tasks: TOP => install:agent => dist/agent => dist/agent/lib/systemd/system/isc-stork-agent.service
The second attempt was successful.