(#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:
parent
234f39b6ca
commit
73e69995d8
@ -34,7 +34,7 @@ is_enabled() {
|
|||||||
if_enabled_echo() {
|
if_enabled_echo() {
|
||||||
if is_enabled "$1"; then
|
if is_enabled "$1"; then
|
||||||
echo -n "$2"
|
echo -n "$2"
|
||||||
elif [ $# -ge 3 ]; then
|
elif [[ $# -ge 3 ]]; then
|
||||||
echo -n "$3"
|
echo -n "$3"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user