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

