From ef9177edc4f32544f725b4c5a334cfec41849a49 Mon Sep 17 00:00:00 2001 From: Ted Hart-Davis Date: Sun, 31 Oct 2021 12:53:59 +0000 Subject: [PATCH] add quoting around git email and full_name, to make the script less likely to break in the case of bad output --- git_setup.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/git_setup.sh b/git_setup.sh index a5d6a4ebd0..8e780e2496 100755 --- a/git_setup.sh +++ b/git_setup.sh @@ -4,8 +4,8 @@ read full_name echo "Type in your email address (the one used for your GitHub account): " read email -git config --global user.email $email -git config --global user.name $full_name +git config --global user.email "$email" +git config --global user.name "$full_name" git add . git commit --message "My identity for @lewagon in the gitconfig"