forked from distok/cutthecord
		
	patchport: Look out for "can't find file to patch"
This commit is contained in:
		
							parent
							
								
									fb587755da
								
							
						
					
					
						commit
						69700dacaf
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -201,7 +201,7 @@ for patch in os.listdir(os.path.join(cutthecord_folder, "patches")):
 | 
				
			||||||
                         capture_output=True)
 | 
					                         capture_output=True)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    # Check for issues
 | 
					    # Check for issues
 | 
				
			||||||
    if "FAILED" in out.stdout:
 | 
					    if "FAILED" in out.stdout or "can't find file to patch" in out.stdout:
 | 
				
			||||||
        print(f"FAILED: {patch} failed, please fix by hand.")
 | 
					        print(f"FAILED: {patch} failed, please fix by hand.")
 | 
				
			||||||
        failures.append(patch)
 | 
					        failures.append(patch)
 | 
				
			||||||
        out_path += "-failed"
 | 
					        out_path += "-failed"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue