Skip to content

Commit

Permalink
fix generate script
Browse files Browse the repository at this point in the history
  • Loading branch information
sam bacha authored Apr 12, 2021
1 parent e791310 commit 82c602a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions template_generate.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
#!/bin/sh
git grep -l "{{"$1"}}" | xargs sed -i 's/{{"$1"}}$COMPANY_NAME/g'
#!/bin/bash
COMPANY_NAME='Acme Inc.'
git grep -l "{{"LEGAL.ENTITY.NAME"}}" | xargs sed -i 's/{{"LEGAL.ENTITY.NAME"}}/$COMPANY_NAME/g'

0 comments on commit 82c602a

Please sign in to comment.