summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDylan Bolger <dylan.bolger00@gmail.com>2022-03-06 17:59:56 -0600
committerDylan Bolger <dylan.bolger00@gmail.com>2024-01-23 22:41:44 -0600
commit71f26d625cb266cbd17f5257184789d1ca89d657 (patch)
tree398881f376ebc26a3a181aa3c1a3b0ba7ef72871
parenteebad0abb9f2dffa4d170887fa4bbc50892c99aa (diff)
downloadrepo-71f26d625cb266cbd17f5257184789d1ca89d657.tar.xz
repo-71f26d625cb266cbd17f5257184789d1ca89d657.zip
Add check when gitconfig isn't responded to
-rwxr-xr-xrepo.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/repo.sh b/repo.sh
index 325decb..9cde6d9 100755
--- a/repo.sh
+++ b/repo.sh
@@ -25,7 +25,7 @@ then
echo "Author set to \"$repoOwner\""
fi
fi
- if [[ $usegc == [nN] ]];
+ if [[ $usegc == [nN] ]] || [[ -z $usegc ]];
then
read -p "What's the owner name? [default: ''] " repoOwner
fi