mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-26 01:17:51 +08:00
Cleaning up sub modules
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user