From 71ce2e135b97a50594cb36fa84f397e9f214b533 Mon Sep 17 00:00:00 2001
From: caodongxia <315816521@qq.com>
Date: Sat, 11 Sep 2021 11:41:23 +0800
Subject: [PATCH] fix oozie command not found jar path

---
 client/src/main/bin/oozie | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/client/src/main/bin/oozie b/client/src/main/bin/oozie
index b8db5ee..6c3593a 100644
--- a/client/src/main/bin/oozie
+++ b/client/src/main/bin/oozie
@@ -51,6 +51,9 @@ if [ ! -d "${BASEDIR}/lib" ]; then
 fi
 
 OOZIECPPATH=""
+for i in "${BASEDIR}/libtools/"*.jar; do
+  OOZIECPPATH="${OOZIECPPATH}:$i"
+done
 for i in "${BASEDIR}/lib/"*.jar; do
   OOZIECPPATH="${OOZIECPPATH}:$i"
 done
-- 
2.27.0

