From 045b43887026dbe43060355784ae1c7aab0a17fd Mon Sep 17 00:00:00 2001 From: JackeyLee007 Date: Thu, 30 May 2024 19:06:17 +0800 Subject: [PATCH] [Improve] [shell] Set the env SEATUNNEL_HOME automatically (#6924) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --------- Co-authored-by: 李鹏程 --- seatunnel-core/seatunnel-starter/src/main/bin/seatunnel.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/seatunnel-core/seatunnel-starter/src/main/bin/seatunnel.sh b/seatunnel-core/seatunnel-starter/src/main/bin/seatunnel.sh index 644ec02eae0..7da7a802596 100755 --- a/seatunnel-core/seatunnel-starter/src/main/bin/seatunnel.sh +++ b/seatunnel-core/seatunnel-starter/src/main/bin/seatunnel.sh @@ -35,6 +35,7 @@ done PRG_DIR=`dirname "$PRG"` APP_DIR=`cd "$PRG_DIR/.." >/dev/null; pwd` +SEATUNNEL_HOME=${APP_DIR} CONF_DIR=${APP_DIR}/config APP_JAR=${APP_DIR}/starter/seatunnel-starter.jar APP_MAIN="org.apache.seatunnel.core.starter.seatunnel.SeaTunnelClient"