winrtc/.pipelines/restore-applying_patches.cmd

27 строки
547 B
Batchfile

@echo off
cd /D "%~dp0"
call git config --global user.name "WinRTC"
if errorlevel 1 goto :error
call git config --global user.email "<>"
if errorlevel 1 goto :error
echo.
echo Setting the WEBRTCM84_ROOT enviornment variable...
set WEBRTCM84_ROOT=c:\webrtc\src
echo.
echo Running the batch file that will patch all the necessary repos from the WebRTC code base...
..\patches_for_WebRTC_org\m84\patchWebRTCM84.cmd
if errorlevel 1 goto :error
goto :exit
:error
echo Last command failed with erro code: %errorlevel%
:exit
exit /b %errorlevel%