Skip to content

Commit c854739

Browse files
committed
Checking for 'wiki_github_update_user'
1 parent 1a15692 commit c854739

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

bin/configure_git.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ COMMITER_EMAIL="$2"
44
# shellcheck disable=SC2164
55
pushd "$OLD_WIKI_CHECKOUT_PATH"
66

7+
if [ "$COMMITER_NAME" == "" ]; then
8+
echo "ERROR: 'wiki_github_update_user' not set"
9+
exit 3
10+
fi;
11+
712
git config user.email "$COMMITER_EMAIL" || exit 1
813
git config user.name "$COMMITER_NAME" || exit 2
914
git config advice.addEmptyPathspec false

0 commit comments

Comments
 (0)