1From 7350874f6f62314af4c8ec1973c91d305a6f4ddc Mon Sep 17 00:00:00 2001
2From: David Michael <fedora.dm0@gmail.com>
3Date: Fri, 26 Mar 2021 16:06:50 +0900
4Subject: [PATCH] build: Fix generation of lock-obj-pub.native.h for cross
5 build.
6
7* src/gen-lock-obj.sh: Capture echo output with quotes.
8
9--
10
11Fixes-commit: 99ae862a96a569724f49a604ebb7d3f6d2c2d374
12Signed-off-by: David Michael <fedora.dm0@gmail.com>
13Upstream: 33593864cd54143db594c4237bba41e14179061c
14Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
15---
16 src/gen-lock-obj.sh | 2 +-
17 1 file changed, 1 insertion(+), 1 deletion(-)
18
19diff --git a/src/gen-lock-obj.sh b/src/gen-lock-obj.sh
20index a710f0c..258eec6 100755
21--- a/src/gen-lock-obj.sh
22+++ b/src/gen-lock-obj.sh
23@@ -38,7 +38,7 @@
24 #     AWK=gawk ./gen-lock-obj.sh
25 #
26
27-if test -n `echo -n`; then
28+if test -n "`echo -n`"; then
29     ECHO_C='\c'
30     ECHO_N=''
31 else
32--
332.31.1
34
35