mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-03 08:28:52 +08:00
Revert "Tools: skip check_submodules.sh when NUTTX_SRC is set"
This reverts commit ac8f179f2d.
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user