Skip to content

Commit

Permalink
Ensure .git directory is never modified
Browse files Browse the repository at this point in the history
  • Loading branch information
drien committed Oct 15, 2024
1 parent c929267 commit 59cdad1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ if [ ! -d "$PROJECT" ]; then
mv gobabygo "$PROJECT"
fi

find ./ -type f -exec sed -i "s/gobabygo/$PROJECT/gI" {} \;
find ./ -type f -not -path '*/.git/*' -exec sed -i "s/gobabygo/$PROJECT/gI" {} \;

rm ./.env.tmpl ./bootstrap.sh ./LICENSE

Expand Down

0 comments on commit 59cdad1

Please sign in to comment.