Fix "make update" on macOS/Linux not updating addons to the blender2.8 branch.

This will need to be removed once we merge into master.
This commit is contained in:
Brecht Van Lommel 2018-10-30 14:36:48 +01:00
parent 450f0c4a90
commit 8e183a83b7

@ -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
# -----------------------------------------------------------------------------