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

Commit d58e70bf authored by Yifan Hong's avatar Yifan Hong
Browse files

Fix size check for devices with multiple groups

The old code calls check-sum-of-partition-sizes within a foreach
loop, causing syntax error:
... fi partition_size_list=...

Add a semicolon after fi to fix this.
Test: build with multiple groups, each group with a partition in it

Change-Id: Ic4387408f3efc1744871619c300546765c678a61
parent 82f2cb07
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3122,7 +3122,7 @@ define check-sum-of-partition-sizes
  else \
    echo "The sum of sizes of [$(strip $(3))] is within $(strip $(1)):"; \
    echo $${sum_sizes_expr} '==' $$(( $${sum_sizes_expr} )) '<=' "$(2)" '==' $$(( $(2) )); \
  fi
  fi;
endef

define check-all-partition-sizes-target