diff --git a/scripts/common.bat b/scripts/common.bat index 2166dd8..d0c1065 100644 --- a/scripts/common.bat +++ b/scripts/common.bat @@ -64,14 +64,14 @@ exit /b %errorlevel% for /F "tokens=*" %%P in ('dir /b /s ^"%ROOT_DIR%\patches\%PROJECT%-*.patch^" 2^>nul') do ( echo. echo ### Applying %%~nxP - git apply %%P || exit /b 1 + git apply -C1 %%P || exit /b 1 ) if defined ADDITIONAL_PATCHES_DIR ( for /F "tokens=*" %%P in ('dir /b /s ^"%ADDITIONAL_PATCHES_DIR%\%PROJECT%-*.patch^" 2^>nul') do ( echo. echo ### Applying %%~nxP - git apply %%P || exit /b 1 + git apply -C1 %%P || exit /b 1 ) )