mirror of
https://github.com/glest/glest-source.git
synced 2025-09-09 07:20:47 +02:00
16 lines
314 B
Batchfile
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 ..
|
|
) |