2
1

0001-build-Fix-generation-of-lock-obj-pub.native.h-for-cr.patch 899 B

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