Skip to content
This repository was archived by the owner on Jul 1, 2020. It is now read-only.

fix sed - #6

Open
jeffreyfuchang wants to merge 1 commit into
masterfrom
BUG/sed
Open

jeffreyfuchang wants to merge 1 commit into
masterfrom
BUG/sed

Conversation

@jeffreyfuchang

@jeffreyfuchang jeffreyfuchang commented Jun 19, 2017 •

Copy link
Copy Markdown

Circle is getting the error sed: -e expression #1, char 24: unknown option to s'` and then exiting.

Comment thread lib/deploy/commands.rb

def use_tag_in_dockerrun(repo, tag)
shout "Changing Dockerrun.aws.json to contain latest tag"
command = "sed 's/<TAG>/#{tag}/' < Dockerrun.aws.json.template > Dockerrun.aws.json"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what does adding the global option to the regex do and what does removed the < command change?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants