Change directory before applying patches
This commit is contained in:
		
							parent
							
								
									53a6f29ab7
								
							
						
					
					
						commit
						3bdb0e6337
					
				| @ -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 | ||||
|  | ||||
| @ -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 | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user