update_sources.cmd 369 B

12345678910111213141516171819
  1. if "%BUILD_UPDATE_SVN%" == "1" (
  2. if "%SVN%" == "" (
  3. echo svn not found, cannot update libraries
  4. goto UPDATE_GIT
  5. )
  6. "%SVN%" up "%BLENDER_DIR%/../lib/*"
  7. )
  8. :UPDATE_GIT
  9. if "%BUILD_UPDATE_GIT%" == "1" (
  10. if "%GIT%" == "" (
  11. echo Git not found, cannot update code
  12. goto EOF
  13. )
  14. "%GIT%" pull --rebase
  15. "%GIT%" submodule foreach git pull --rebase origin master
  16. )
  17. :EOF