FBT recurse submodules

This commit is contained in:
Willy-JL
2023-10-10 03:42:38 +01:00
parent 9ef4b15f68
commit e7bf892093
2 changed files with 2 additions and 2 deletions

2
fbt
View File

@@ -29,7 +29,7 @@ if [ -z "$FBT_NO_SYNC" ]; then
echo "\".git\" directory not found, please clone repo via \"git clone\"";
exit 1;
fi
git submodule update --init --jobs "$N_GIT_THREADS";
git submodule update --init --recursive --jobs "$N_GIT_THREADS";
fi
$SCONS_EP $SCONS_DEFAULT_FLAGS "$@"

View File

@@ -5,7 +5,7 @@ set SCONS_EP=python -m SCons
if [%FBT_NO_SYNC%] == [] (
if exist ".git" (
git submodule update --init --depth 1 --jobs %NUMBER_OF_PROCESSORS%
git submodule update --init --recursive --depth 1 --jobs %NUMBER_OF_PROCESSORS%
) else (
echo Not in a git repo, please clone with "git clone"
exit /b 1