(#9400 P1a) lib/functions/main/config-prepare.sh: convert [ ] to [[ ]]

Replace POSIX `[ ]` with bash `[[ ]]` on one array expansion check.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Igor Velkov 2026-03-02 04:59:54 +02:00 committed by Igor
parent 1cafc27959
commit 7b137e0067

View File

@ -167,7 +167,7 @@ function config_early_init() {
display_alert "Starting single build process" "${BOARD:-"no BOARD set"}" "info"
# Do not initialize an empty array if it exists.
if [ "${KERNEL_DRIVERS_SKIP[*]}" == "" ]; then
if [[ "${KERNEL_DRIVERS_SKIP[*]}" == "" ]]; then
# Prepare array to be filled in by board/family/extensions
declare -g -a KERNEL_DRIVERS_SKIP=()
fi