forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-02-17 557c24d082b6ecb9bfe5407b77ae43fa7650a5dc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
From 38397b42e2c3450c2aee20e6fb92f362db4e35ef Mon Sep 17 00:00:00 2001
From: Hongxu Jia <hongxu.jia@windriver.com>
Date: Tue, 2 Jul 2019 13:20:39 +0800
Subject: [PATCH] thin-provisioning-tools: use sh on path when invoking txt2man
 
txt2man contains a test which might try to use ksh to run the script, so we
avoid running /bin/sh.
 
Upstream-Status: Inappropriate [oe specific]
 
Signed-off-by: joe.slater <joe.slater@windriver.com>
 
Rebase to 0.8.5
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
---
 Makefile.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 
diff --git a/Makefile.in b/Makefile.in
index 7c867b2..5303994 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -223,7 +223,7 @@ endif
 %.8: %.txt bin/txt2man
     @echo "    [txt2man] $<"
     @mkdir -p $(dir $@)
-    $(V) bin/txt2man -p -t $(basename $(notdir $<)) $< > $@
+    $(V) sh bin/txt2man -p -t $(basename $(notdir $<)) $< > $@
 
 #----------------------------------------------------------------
 
-- 
2.7.4