Skip to content
Unfurl Cloud
  • Dashboard
  • Blueprints
  • Cloud
Projects Groups Topics Snippets
  • Help
  • Register
  • Sign in
  • unfurl unfurl
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 12
    • Issues 12
    • List
    • Boards
    • Milestones
  • Merge requests 10
    • Merge requests 10
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Terraform modules
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

container: fix shebang in generated docker shim

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Adam requested to merge detjensrobert/echo-fix into master Feb 22, 2023
  • Overview 2
  • Commits 1
  • Pipelines 0
  • Changes 1

Created by: detjensrobert

echo -e is supposed to interpret escape sequences e.g. the \n in the echoed string, but is being interpreted as a literal and breaks the shebang.

$ docker run --rm onecommons/unfurl:43ffcf5-podman sh -c 'cat $(which docker)'
-e #!/bin/sh
exec /usr/bin/podman $@

Echo without -e is interpreting the newline anyway, so it can be removed.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: detjensrobert/echo-fix