Files
glest-source/mk/windows/dependencies/update-all.bat
2018-10-14 12:07:33 +02:00

16 lines
314 B
Batchfile

@echo off
setlocal EnableDelayedExpansion
echo Updating repositories...
echo.
cd .\openssl
git pull origin master -X theirs
cd ..\src
SET "MYPATH=."
for /d %%a in ("%mypath%\*") do (
echo.
set branch=master
if "%%~nxa" == "glut" (set branch=git_master)
cd %%~nxa
git pull origin !branch! -X theirs
cd ..
)