diff options
Diffstat (limited to 'GNUmakefile')
-rw-r--r-- | GNUmakefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/GNUmakefile b/GNUmakefile index 02e081e03df..d31abe66f37 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -445,8 +445,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.7 branch for submodules that have it. + git submodule foreach "git checkout blender2.7 || git checkout master" + git submodule foreach git pull --rebase origin # ----------------------------------------------------------------------------- |