mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2025-02-02 10:25:22 -05: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
7724c3effd
commit
fcec1c8887
@ -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="$?";
|
||||
|
Loading…
x
Reference in New Issue
Block a user