diff options
-rw-r--r-- | GNUmakefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/GNUmakefile b/GNUmakefile index 21183220b80..f692daed600 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -458,8 +458,9 @@ update: .FORCE fi git pull --rebase git submodule update --init --recursive - git submodule foreach git checkout master - git submodule foreach git pull --rebase origin master + # Use blender2.8 branch for submodules that have it. + git submodule foreach "git checkout blender2.8 || git checkout master" + git submodule foreach git pull --rebase origin # ----------------------------------------------------------------------------- |