modules: show wiki URL on all submodule errors

This commit is contained in:
Andrew Tridgell 2015-06-09 13:51:15 +10:00
parent 0e6f6c49c6
commit 3ec1a0ca84

View File

@ -35,6 +35,8 @@ cat <<EOF
==============================
git submodules are initialised
Please see http://dev.ardupilot.com/wiki/git-submodules/
Please restart the build
==============================
EOF
@ -46,7 +48,12 @@ for m in $MODULE_LIST; do
[ -z "$RET" ] || {
echo "Module modules/$m out of date"
git submodule summary modules/$m
echo "Please run 'git submodule update'"
cat <<EOF
You need to run 'git submodule update'
Please see http://dev.ardupilot.com/wiki/git-submodules/
EOF
exit 1
}
done