Automate initial submodule update

This commit is contained in:
Lorenz Meier 2016-01-13 11:50:27 +01:00
parent 181cbd383c
commit a2758eadb6
1 changed files with 7 additions and 0 deletions

View File

@ -6,6 +6,13 @@
exit 0
}
if [ -f src/modules/uavcan/libuavcan/CMakeLists.txt ]
then
echo "Git submodule config valid."
else
git submodule update --init --recursive
fi
GITSTATUS=$(git status)
function check_git_submodule {