Revert "Tools: skip check_submodules.sh when NUTTX_SRC is set"

This reverts commit ac8f179f2d.
This commit is contained in:
Lorenz Meier
2014-07-08 15:00:44 +02:00
parent ac8f179f2d
commit 52713bc0ba
-7
View File
@@ -1,12 +1,5 @@
#!/bin/sh
[ -n "$NUTTX_SRC" ] && {
# NUTTX_SRC is set, meaning user is overriding the NuttX tree to use. Don't
# use submodules to pull an alternatiie tree
echo "Skipping submodules as NUTTX_SRC is set to $NUTTX_SRC"
exit 0
}
if [ -d NuttX/nuttx ];
then
STATUSRETVAL=$(git status --porcelain | grep -i "NuttX")