diff --git a/Scripts/Common/Functions.sh b/Scripts/Common/Functions.sh index ed85e641..c1806b83 100644 --- a/Scripts/Common/Functions.sh +++ b/Scripts/Common/Functions.sh @@ -393,7 +393,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="$?"; unzip -l $OUT_DIR/$PREFIX-target_files.zip | grep -q dtbo.img; local hasDtboImg="$?";