Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

Commit

Permalink
Correct sed invocation to work in Mac and Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
2opremio committed Oct 31, 2019
1 parent 44b69ae commit 4d470a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/e2e/12_sync.bats
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ function setup() {
[ "$sync_tag_hash" = "$head_hash" ]

# Add a change, wait for it to happen and check the sync tag again
sed -i '' 's%stefanprodan/podinfo:2.1.0%stefanprodan/podinfo:3.1.5%' "${clone_dir}/workloads/podinfo-dep.yaml"
sed -i'.bak' 's%stefanprodan/podinfo:2.1.0%stefanprodan/podinfo:3.1.5%' "${clone_dir}/workloads/podinfo-dep.yaml"
git commit -am "Bump podinfo"
head_hash=$(git rev-list -n 1 HEAD)
git push
Expand Down

0 comments on commit 4d470a6

Please sign in to comment.