diff --git a/breakpad.bat b/breakpad.bat index ba77ca7..7ac8073 100644 --- a/breakpad.bat +++ b/breakpad.bat @@ -26,8 +26,12 @@ cmd /c depot_tools\gclient sync --nohooks @IF %errorlevel% neq 0 EXIT /b %errorlevel% :DONESRC -git -C src am -3 ../../patches/*.patch +cd src +git config user.name patches +git config user.email patches@localhost +git am -3 ../../patches/*.patch @IF %errorlevel% neq 0 EXIT /b %errorlevel% +cd .. @IF EXIST gyp\NUL GOTO HASGYP git clone --depth=1 --branch=master https://chromium.googlesource.com/external/gyp.git gyp diff --git a/breakpad.sh b/breakpad.sh index e6d309d..9516ab6 100755 --- a/breakpad.sh +++ b/breakpad.sh @@ -18,7 +18,11 @@ else PYTHONDONTWRITEBYTECODE=1 python2.7 ./depot_tools/gclient.py sync --nohooks fi -git -C src am -3 ../../patches/*.patch +cd src +git config user.name patches +git config user.email patches@localhost +git am -3 ../../patches/*.patch +cd .. if [ ! -d "build" ]; then mkdir build