We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b9a0541 commit 05a0767Copy full SHA for 05a0767
git_setup.sh
@@ -17,7 +17,7 @@ GITHUB_NICKNAME=$(git remote get-url --push origin | cut -d ":" -f 2 | cut -d "/
17
GITHUB_EMAIL=$(curl -s https://api.github.com/repos/${GITHUB_NICKNAME}/dotfiles/commits/`git rev-parse HEAD` | jq -r '.commit.author.email')
18
GIT_EMAIL=$(git config --global user.email)
19
20
-if [ ${GITHUB_EMAIL} = ${GIT_EMAIL} ]
+if [ "${GITHUB_EMAIL}" = "${GIT_EMAIL}" ] || [ -z ${GITHUB_EMAIL} ]
21
then
22
echo "👌 Awesome, all set."
23
else
0 commit comments