Skip to contentSkip to conversation

lttng-modules: fix shell syntax

PATCH New Martin Jansa 1 participant 1 message Jun 7, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 lttng-modules: fix shell syntax

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

---
 .../0001-fix-random-remove-unused-tracepoints-v5.10-v5.15.patch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-kernel/lttng/lttng-modules/0001-fix-random-remove-unused-tracepoints-v5.10-v5.15.patch +1 -1
index 361a59c2e5..d27cbc314f 100644
@@ -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 \) \
Signature · 1 line
2.35.1