12345678910111213141516171819 |
- if "%BUILD_UPDATE_SVN%" == "1" (
- if "%SVN%" == "" (
- echo svn not found, cannot update libraries
- goto UPDATE_GIT
- )
- "%SVN%" up "%BLENDER_DIR%/../lib/*"
- )
- :UPDATE_GIT
- if "%BUILD_UPDATE_GIT%" == "1" (
- if "%GIT%" == "" (
- echo Git not found, cannot update code
- goto EOF
- )
- "%GIT%" pull --rebase
- "%GIT%" submodule foreach git pull --rebase origin master
- )
- :EOF
|