Skip to content

Commit

Permalink
Merge pull request #13 from comandi/escape-git-name-and-email
Browse files Browse the repository at this point in the history
Escape git name and email
  • Loading branch information
pieterlange committed Jul 24, 2017
2 parents 23ff83f + 9dd7c38 commit f9eabdb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions entrypoint.sh
Expand Up @@ -17,8 +17,8 @@ if [[ ! -f /backup/.ssh/id_rsa ]] ; then
git config --global credential.helper '!aws codecommit credential-helper $@'
git config --global credential.UseHttpPath true
fi
git config --global user.name $GIT_USERNAME
git config --global user.email $GIT_EMAIL
git config --global user.name "$GIT_USERNAME"
git config --global user.email "$GIT_EMAIL"

test -d /backup/git/ || git clone --depth 1 $GIT_REPO /backup/git --branch $GIT_BRANCH || git clone $GIT_REPO /backup/git
cd /backup/git/
Expand Down

0 comments on commit f9eabdb

Please sign in to comment.