mirror of
				https://github.com/Ysurac/openmptcprouter.git
				synced 2025-03-09 15:40:20 +00:00 
			
		
		
		
	Fix if file not exist
This commit is contained in:
		
							parent
							
								
									04b1e46e68
								
							
						
					
					
						commit
						ec7d6d64bd
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		
							
								
								
									
										2
									
								
								build.sh
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								build.sh
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -133,7 +133,7 @@ cd "$OMR_TARGET/source"
 | 
			
		|||
echo "Checking if UEFI patch is set or not"
 | 
			
		||||
if [ "$OMR_UEFI" = "yes" ] && [ "$OMR_TARGET" = "x86_64" ]; then 
 | 
			
		||||
	if ! patch -Rf -N -p1 -s --dry-run < ../../patches/uefi.patch; then
 | 
			
		||||
		rm target/linux/x86/image/startup.nsh
 | 
			
		||||
		rm -f target/linux/x86/image/startup.nsh
 | 
			
		||||
		patch -N -p1 -s < ../../patches/uefi.patch
 | 
			
		||||
	fi
 | 
			
		||||
else
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue