[kirkstone,17/20] lttng-modules: fix shell syntax

Message ID 92a5fb9138ee0a2a1b9926217647a23d1c1d73b4.1655129917.git.steve@sakoman.com
State Accepted, archived
Commit 92a5fb9138ee0a2a1b9926217647a23d1c1d73b4
Headers show
Series [kirkstone,01/20] sanity: Switch to make 4.0 as a minimum version | expand

Commit Message

Steve Sakoman June 13, 2022, 2:21 p.m. UTC
From: Martin Jansa <Martin.Jansa@gmail.com>

* add missing space to fix:
  /bin/sh: 1: [: Illegal number: 119)
  shown in the log.do_compile (isn't fatal for the build)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8f785f35c8a9cdc0107fbaa76b20df5199159ee0)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
---
 .../0001-fix-random-remove-unused-tracepoints-v5.10-v5.15.patch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/meta/recipes-kernel/lttng/lttng-modules/0001-fix-random-remove-unused-tracepoints-v5.10-v5.15.patch b/meta/recipes-kernel/lttng/lttng-modules/0001-fix-random-remove-unused-tracepoints-v5.10-v5.15.patch
index 361a59c2e5..d27cbc314f 100644
--- a/meta/recipes-kernel/lttng/lttng-modules/0001-fix-random-remove-unused-tracepoints-v5.10-v5.15.patch
+++ b/meta/recipes-kernel/lttng/lttng-modules/0001-fix-random-remove-unused-tracepoints-v5.10-v5.15.patch
@@ -35,7 +35,7 @@  index 5478447..31e0ee8 100644
 +    if [ \( ! \( $(VERSION) -ge 6 \
 +      -o \( $(VERSION) -eq 5 -a $(PATCHLEVEL) -ge 18 \) \
 +      -o \( $(VERSION) -eq 5 -a $(PATCHLEVEL) -eq 15 -a $(SUBLEVEL) -ge 44 \) \
-+      -o \( $(VERSION) -eq 5 -a $(PATCHLEVEL) -eq 10 -a $(SUBLEVEL) -ge 119\) \) \) \
++      -o \( $(VERSION) -eq 5 -a $(PATCHLEVEL) -eq 10 -a $(SUBLEVEL) -ge 119 \) \) \) \
        -a \
        $(VERSION) -ge 4 \
        -o \( $(VERSION) -eq 3 -a $(PATCHLEVEL) -ge 6 \) \