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
|
@ -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…
Reference in New Issue