Browse Source

ci(fix): fail when git user name or email is empty

release-1.5
XindaH 3 years ago
parent
commit
febd0b1798
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      third_party/prepare.sh

+ 2
- 2
third_party/prepare.sh View File

@@ -32,11 +32,11 @@ git submodule update --init cutlass

git submodule update --init cpuinfo

name=`git config --get user.name`
name=`git config --get user.name || true`
if [ -z "$name" ]; then
name="default"
fi
email=`git config --get user.email`
email=`git config --get user.email || true`
if [ -z "$email" ]; then
email="default"
fi


Loading…
Cancel
Save