Browse Source

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

tags/v1.5.0
XindaH 4 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 git submodule update --init cpuinfo


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


Loading…
Cancel
Save