Skip to content

Commit

Permalink
Quote variables for safety
Browse files Browse the repository at this point in the history
  • Loading branch information
brockfanning committed Dec 8, 2018
1 parent 324e97b commit 4755d83
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions scripts/deploy/circleci/deploy_prod.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ GH_EMAIL="[email protected]"
###################################

# There is probably no need to modify anything below this point.
git config --global user.email $GH_EMAIL
git config --global user.name $GH_NAME
git config --global user.email "$GH_EMAIL"
git config --global user.name "$GH_NAME"

# CircleCI will identify the SSH key with a "Host" of gh-prod. In order to tell
# Git to use this key, we need to hack the SSH key:
Expand Down
4 changes: 2 additions & 2 deletions scripts/deploy/circleci/deploy_staging.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ GH_EMAIL="[email protected]"
###################################

# There is probably no need to modify anything below this point.
git config --global user.email $GH_EMAIL
git config --global user.name $GH_NAME
git config --global user.email "$GH_EMAIL"
git config --global user.name "$GH_NAME"

# CircleCI will identify the SSH key with a "Host" of gh-stg. In order to tell
# Git to use this key, we need to hack the SSH key:
Expand Down

0 comments on commit 4755d83

Please sign in to comment.