(#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:
parent
1cafc27959
commit
7b137e0067
@ -167,7 +167,7 @@ function config_early_init() {
|
|||||||
display_alert "Starting single build process" "${BOARD:-"no BOARD set"}" "info"
|
display_alert "Starting single build process" "${BOARD:-"no BOARD set"}" "info"
|
||||||
|
|
||||||
# Do not initialize an empty array if it exists.
|
# 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
|
# Prepare array to be filled in by board/family/extensions
|
||||||
declare -g -a KERNEL_DRIVERS_SKIP=()
|
declare -g -a KERNEL_DRIVERS_SKIP=()
|
||||||
fi
|
fi
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user