From 176163203c8c9bcc283033bdb72ebdfe70dd0968 Mon Sep 17 00:00:00 2001 From: Stephen Kirby Date: Tue, 26 Sep 2023 00:26:10 +0000 Subject: [PATCH] fixed missing quotes for sh vars --- git-config/run.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/git-config/run.sh b/git-config/run.sh index bdcc3c3..345da20 100644 --- a/git-config/run.sh +++ b/git-config/run.sh @@ -20,12 +20,12 @@ git_useremail=$(git config --get user.email) # Set git username and email if not set if [ -z $(git config --get user.name) ]; then echo "git-config: No user.email found, setting to ${CODER_EMAIL}" - git config --global user.email ${CODER_EMAIL} + git config --global user.email "${CODER_EMAIL}" fi if [ -z $(git config --get user.email) ]; then echo "git-config: No user.name found, setting to ${CODER_USERNAME}" - git config --global user.name ${CODER_USERNAME} + git config --global user.name "${CODER_USERNAME}" fi echo "git-config: using username: {$(git config --get user.name)}"