From 73e69995d8ca6ae100099c9010519a24e295d395 Mon Sep 17 00:00:00 2001 From: Igor Velkov <325961+iav@users.noreply.github.com> Date: Mon, 2 Mar 2026 05:04:34 +0200 Subject: [PATCH] (#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 --- lib/functions/compilation/kernel-debs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/functions/compilation/kernel-debs.sh b/lib/functions/compilation/kernel-debs.sh index c85202ef50..5b732886b3 100644 --- a/lib/functions/compilation/kernel-debs.sh +++ b/lib/functions/compilation/kernel-debs.sh @@ -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 }