Browse Source

Update prepare.sh

tags/v1.0.0-rc1
stoneMo Xinran Xu 4 years ago
parent
commit
d49a29719a
1 changed files with 8 additions and 0 deletions
  1. +8
    -0
      third_party/prepare.sh

+ 8
- 0
third_party/prepare.sh View File

@@ -1,5 +1,13 @@
#!/bin/bash -e

git_version=$(git --version)
if [ >= "1.8.4" ]; then
echo "Since git 1.8.4 (August 2013), you don't have to be at top-level to run git submodule update."
else
echo "You have to update your git version to 1.8.4 or later."
exit -1
fi

cd $(dirname $0)

git submodule sync


Loading…
Cancel
Save