Correctly handle raw type ordering
We need to run raw outputting last, and were incorrectly detecting that image type. Change-Id: Idfbe46c34e783046b940d3eb28c846a0cf9ac0a6
This commit is contained in:
parent
88309de96b
commit
7347577784
@ -251,7 +251,7 @@ has_raw_type=
|
|||||||
if [ "$IS_RAMDISK" == "0" ]; then
|
if [ "$IS_RAMDISK" == "0" ]; then
|
||||||
for IMAGE_TYPE in ${IMAGE_TYPES[@]} ; do
|
for IMAGE_TYPE in ${IMAGE_TYPES[@]} ; do
|
||||||
# We have to do raw last because it is destructive
|
# We have to do raw last because it is destructive
|
||||||
if [ "$IMAGE_NAME" = "raw" ]; then
|
if [ "$IMAGE_TYPE" = "raw" ]; then
|
||||||
has_raw_type=1
|
has_raw_type=1
|
||||||
else
|
else
|
||||||
compress_and_save_image $IMAGE_NAME.$IMAGE_TYPE
|
compress_and_save_image $IMAGE_NAME.$IMAGE_TYPE
|
||||||
|
Loading…
Reference in New Issue
Block a user