Skip to content

Commit

Permalink
Build script - Fix sed command for team yaml (#167)
Browse files Browse the repository at this point in the history
The `sed` command on Mac OS X behaves differently than on Linux. The `-i` option is for naming a backup file on OSX.

Hopefully fixes #165
  • Loading branch information
jomey authored May 7, 2024
1 parent ad103fd commit 05a5ed0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/build_team_yaml.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ find . -type f -name '*.yaml' \
sort | xargs -I '{}' cat '{}' > team_people.yaml

# Indent to proper yaml
sed -i 's/^/ /' team_people.yaml
sed -i.bkp -e 's/^/ /' team_people.yaml
rm team_people.yaml.bkp

# Create the final team file
cat header.yaml team_people.yaml > team.yaml
Expand Down

0 comments on commit 05a5ed0

Please sign in to comment.