From eed3fd5dd2590fc8a6283416270a8a4a9e8095b3 Mon Sep 17 00:00:00 2001
From: balaskoa <Jeno.Balasko@ericsson.com>
Date: Tue, 18 Aug 2020 12:42:54 +0200
Subject: [PATCH] bugfix: posix compatible Makefile

Signed-off-by: balaskoa <Jeno.Balasko@ericsson.com>
Change-Id: Ifaec481d62ec8a3fb04d043899ac7fd52c86d705
---
 regression_test/compileonly/mfgen-tpd/HR30365/Makefile | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/regression_test/compileonly/mfgen-tpd/HR30365/Makefile b/regression_test/compileonly/mfgen-tpd/HR30365/Makefile
index 89d30ee15..cc5bae6d9 100644
--- a/regression_test/compileonly/mfgen-tpd/HR30365/Makefile
+++ b/regression_test/compileonly/mfgen-tpd/HR30365/Makefile
@@ -30,8 +30,9 @@ BuildHelloTpd:
 	 -t HelloTpd/HelloTpd.tpd 2>&1 | tee output
 
 CheckHelloTpd: BuildHelloTpd
-	if [[ -d "Hello000/bin" || -d "Hello123/bin" || `grep -c "Makefile skeleton was generated." ./output` -ne 1 ]];\
-	then exit 1; fi
+	if [ -e "Hello000/bin" ] || [ -e "Hello123/bin" ] || [ `grep -c "Makefile skeleton was generated." ./output` -ne 1 ]; \
+	then exit 1; \
+	fi
 
 clean:
 	-rm -rf HelloTpd/bin output
-- 
GitLab