mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-28 05:23:34 +08:00
check_submodules.sh only sync selected submodule
This commit is contained in:
@@ -45,7 +45,7 @@ then
|
|||||||
else
|
else
|
||||||
echo "REINITIALIZING GIT SUBMODULES"
|
echo "REINITIALIZING GIT SUBMODULES"
|
||||||
echo "no git repo found in $1/.git"
|
echo "no git repo found in $1/.git"
|
||||||
git submodule sync --recursive;
|
git submodule sync --recursive -- $1;
|
||||||
git submodule update --init --recursive $1;
|
git submodule update --init --recursive $1;
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user