RSS Bot Posted June 14 Posted June 14 Description Shellcheck errors/warnings were: In lib/functions/rootfs/distro-agnostic.sh line 155: display_alert "Adding to extlinux.conf" "fdtoverlays=${DEFAULT_OVERLAYS[@]}" "debug" ^--------------------^ SC2145 (error): Argument mixes string and array. Use * or separate argument. In lib/functions/rootfs/distro-agnostic.sh line 156: echo " fdtoverlays ${DEFAULT_OVERLAYS[@]}" >> "$SDCARD/boot/extlinux/extlinux.conf" ^--------------------^ SC2145 (error): Argument mixes string and array. Use * or separate argument. In lib/functions/rootfs/distro-agnostic.sh line 193: if [[ -n $DEFAULT_OVERLAYS && -f "${SDCARD}"/boot/armbianEnv.txt ]]; then ^---------------^ SC2128 (warning): Expanding an array without an index only gives the first element. Fixes https://github.com/armbian/build/pull/6744 How it was tested [x] Shellcheck does not output any warnings or errors anymore: https://github.com/armbian/build/actions/runs/9522581973/job/26252408859?pr=6746 View the full article
Recommended Posts