Cleaning up sub modules

This commit is contained in:
Lorenz Meier
2014-07-07 17:18:54 +02:00
parent d79a80e8be
commit 4c2cc65ca6
5 changed files with 20 additions and 5 deletions
+8
View File
@@ -7,4 +7,12 @@ else
exit 1
fi
STATUSRETVAL=$(git status --porcelain | grep -i "M NuttX")
if [ "$STATUSRETVAL" == "" ]; then
echo "checked NuttX submodule, correct version found"
else
echo "NuttX sub repo not at correct version. Try 'git submodule update'"
exit 1
fi
exit 0