Skip to content
This repository was archived by the owner on Dec 23, 2024. It is now read-only.

Commit fcec1c8

Browse files
committed
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 <[email protected]>
1 parent 7724c3e commit fcec1c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Scripts/Common/Functions.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,7 @@ processRelease() {
393393
echo "$INCREMENTAL_ID" > "$OUT_DIR/$PREFIX-target_files.zip.id";
394394

395395
#Image
396-
unzip -l $OUT_DIR/$PREFIX-target_files.zip | grep -q recovery.img;
396+
unzip -l $OUT_DIR/$PREFIX-target_files.zip | grep -q recovery.img || true;
397397
local hasRecoveryImg="$?";
398398
unzip -l $OUT_DIR/$PREFIX-target_files.zip | grep -q dtbo.img;
399399
local hasDtboImg="$?";

0 commit comments

Comments
 (0)