(#9400 P1a) lib/functions/compilation/kernel-debs.sh: convert [ ] to [[ ]]

Replace POSIX `[ ]` with bash `[[ ]]` on one numeric argument-count check.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Igor Velkov 2026-03-02 05:04:34 +02:00 committed by Igor
parent 234f39b6ca
commit 73e69995d8

View File

@ -34,7 +34,7 @@ is_enabled() {
if_enabled_echo() {
if is_enabled "$1"; then
echo -n "$2"
elif [ $# -ge 3 ]; then
elif [[ $# -ge 3 ]]; then
echo -n "$3"
fi
}