Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • stork stork
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 330
    • Issues 330
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 22
    • Merge requests 22
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
    • Model experiments
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • ISC Open Source ProjectsISC Open Source Projects
  • storkstork
  • Issues
  • #1019

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.

Assignee
Assign to
Time tracking