use 'sed -i.bak' instead of 'sed -i' to make it compatible with macos sed

This commit is contained in:
David Schweikert
2018-10-07 22:26:15 +02:00
parent 489f6e2e67
commit 6d4ad82262
4 changed files with 6 additions and 9 deletions

View File

@@ -136,7 +136,7 @@ a label, but one can always edit `kustomization.yaml` directly:
<!-- @customizeLabels @test -->
```
sed -i 's/app: helloworld/app: prod/' \
sed -i.bak 's/app: helloworld/app: prod/' \
$DEMO_HOME/kustomization.yaml
```