From e436bf9e1d2304ecc99dcbc1f17758f0ef01cad9 Mon Sep 17 00:00:00 2001 From: Ricardo Pardini Date: Tue, 24 Oct 2023 16:08:21 +0200 Subject: [PATCH] image-output-abl: fix shellcheck error --- extensions/image-output-abl.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/image-output-abl.sh b/extensions/image-output-abl.sh index 246360c280..2dacf58c4c 100644 --- a/extensions/image-output-abl.sh +++ b/extensions/image-output-abl.sh @@ -25,7 +25,7 @@ function post_build_image__900_convert_to_abl_img() { if [ ${#ABL_DTB_LIST[@]} -ne 0 ]; then display_alert "Going to create abl kernel boot image" "${EXTENSION}" "info" gzip -c ${new_rootfs_image_mount_dir}/boot/vmlinuz-*-* > ${DESTIMG}/Image.gz - for dtb_name in ${ABL_DTB_LIST[@]}; do + for dtb_name in "${ABL_DTB_LIST[@]}"; do display_alert "Creatng abl kernel boot image with dtb ${dtb_name}" "${EXTENSION}" "info" cat ${DESTIMG}/Image.gz ${new_rootfs_image_mount_dir}/usr/lib/linux-image-*/qcom/${dtb_name}.dtb > ${DESTIMG}/Image.gz-${dtb_name} ${new_rootfs_image_mount_dir}/usr/local/bin/mkbootimg.py \