diff options
Diffstat (limited to 'build_files/windows/update_sources.cmd')
-rw-r--r-- | build_files/windows/update_sources.cmd | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/build_files/windows/update_sources.cmd b/build_files/windows/update_sources.cmd index 22d93fabb95..ef11909b93d 100644 --- a/build_files/windows/update_sources.cmd +++ b/build_files/windows/update_sources.cmd @@ -11,6 +11,10 @@ if "%GIT%" == "" ( goto EOF ) "%GIT%" pull --rebase -"%GIT%" submodule foreach git pull --rebase origin master +"%GIT%" submodule update --init --recursive +rem Use blender2.7 branch for submodules that have it. +"%GIT%" submodule foreach "git checkout blender2.7 || git checkout master" +"%GIT%" submodule foreach git pull --rebase origin -:EOF
\ No newline at end of file + +:EOF |