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

Commit 8c07c7bc authored by Sahil Sonar's avatar Sahil Sonar 💬
Browse files

flash: Fix BLOB var splitting

parent 4f602e67
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -239,7 +239,7 @@ then
    for BLOB in $2;
    do
      PARTITION="${BLOB%%:*}"
      IMAGE=$(echo $BLOB | cut -s -d : -f 2)
      IMAGE=$(echo "$BLOB" | cut -s -d : -f 2)

      if [[ "$PARTITION" = "userdata" && "${CLEAN_FLASH}" != "true" ]]
      then
@@ -258,7 +258,7 @@ then
    for BLOB in $2;
    do
      PARTITION="${BLOB%%:*}"
      IMAGE=$(echo $BLOB | cut -s -d : -f 2)
      IMAGE=$(echo "$BLOB" | cut -s -d : -f 2)

      flash_image_ab_or_abort "${1}" "${PARTITION}" "${IMAGES_DIR}/${IMAGE:-$PARTITION.img}"
    done