Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 52520a72 authored by Brint E. Kriebel's avatar Brint E. Kriebel
Browse files

ota_from_target_files: remove duplicate setting of recovery_img

This variable is already set earlier in the script and does not need
to be wrapped inside of the if statement

Change-Id: I91b7f7d2fc911a3910b3df09cff0ca0f44fe7741
parent 199228fc
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -536,8 +536,6 @@ else if get_stage("%(bcb_dev)s", "stage") == "3/3" then
  boot_img = common.GetBootableImage("boot.img", "boot.img",
                                     OPTIONS.input_tmp, "BOOT")
  if not OPTIONS.no_separate_recovery:
    recovery_img = common.GetBootableImage("recovery.img", "recovery.img",
                                           OPTIONS.input_tmp, "RECOVERY")
    MakeRecoveryPatch(OPTIONS.input_tmp, output_zip, recovery_img, boot_img)

  Item.GetMetadata(input_zip)