From 04993200641a6069a0c54eb651d902cc41af6e14 Mon Sep 17 00:00:00 2001 From: Mitesh Shah Date: Mon, 23 Jun 2014 18:29:37 +0530 Subject: [PATCH] Fix git config user.name --- bin/install.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/bin/install.sh b/bin/install.sh index a44c2081..68f54aa2 100644 --- a/bin/install.sh +++ b/bin/install.sh @@ -191,11 +191,10 @@ fi if [ -z "$GIT_USER_NAME" ]; then read -p "Enter your name [$(whoami)]: " GIT_USER_NAME # If enter is pressed - if [[ $GIT_USER_NAME = "" ]] - then + if [[ $GIT_USER_NAME = "" ]]; then GIT_USER_NAME=$(whoami) fi - git config --global user.name "$GIT_USER_NAME" + git config --global user.name $GIT_USER_NAME echo "git config user.name = $(git config user.name)" &>> $EE_INSTALL_LOG fi