Skip to content

Commit

Permalink
fix: update script and perm on the script
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Buchleitner <[email protected]>
  • Loading branch information
mabunixda committed May 22, 2023
1 parent 9bf596c commit 720a5cd
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions replace-variables.sh
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
#!/bin/sh

# Replace <ENV-USER-ID>
find examples* -type f -exec sed -i -e "s/<ENV-USER-ID>/$USER_ID/g" {} \;
find deployment* -type f -exec sed -i -e "s/<ENV-USER-ID>/$USER_ID/g" {} \;

# Replace <ENV-ANIMAL>
find examples* -type f -exec sed -i -e "s/<ENV-ANIMAL>/$ANIMAL/g" {} \;
find deployment* -type f -exec sed -i -e "s/<ENV-ANIMAL>/$ANIMAL/g" {} \;

# Replace <ENV-IP>
find examples* -type f -exec sed -i -e "s/<ENV-IP>/$HOST_IP/g" {} \;
find deployment* -type f -exec sed -i -e "s/<ENV-IP>/$HOST_IP/g" {} \;

# Replace <ENV-NAME>
find examples* -type f -exec sed -i -e "s/<ENV-NAME>/$ENVIRONMENT/g" {} \;
find deployment* -type f -exec sed -i -e "s/<ENV-NAME>/$ENVIRONMENT/g" {} \;

# Replace <ENV-DOMAIN>
find examples* -type f -exec sed -i -e "s/<ENV-DOMAIN>/$DOMAIN/g" {} \;
find deployment* -type f -exec sed -i -e "s/<ENV-DOMAIN>/$DOMAIN/g" {} \;

0 comments on commit 720a5cd

Please sign in to comment.