Browse Source

Fix git config user.name

old-stable
Mitesh Shah 11 years ago
parent
commit
0499320064
  1. 5
      bin/install.sh

5
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

Loading…
Cancel
Save