mirror of
				https://github.com/Divested-Mobile/DivestOS-Build.git
				synced 2025-10-31 14:39:10 -04:00 
			
		
		
		
	common: do not abort when recovery-in-boot
when using strict (i.e set -e added by this PR) a build will fail on release when there is no recovery.img. this makes that non-fatal allowing to proceed Signed-off-by: steadfasterX <steadfasterX@users.noreply.github.com>
This commit is contained in:
		
							parent
							
								
									59d8f35761
								
							
						
					
					
						commit
						0ca1c41e8b
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -343,7 +343,7 @@ processRelease() { | |||
| 	echo "$INCREMENTAL_ID" > "$OUT_DIR/$PREFIX-target_files.zip.id"; | ||||
| 
 | ||||
| 	#Image | ||||
| 	unzip -l $OUT_DIR/$PREFIX-target_files.zip | grep -q recovery.img; | ||||
| 	unzip -l $OUT_DIR/$PREFIX-target_files.zip | grep -q recovery.img || true; | ||||
| 	local hasRecoveryImg="$?"; | ||||
| 	if [ "$hasRecoveryImg" == "1" ]; then | ||||
| 		echo -e "\e[0;32mCreating fastboot image\e[0m"; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 steadfasterX
						steadfasterX