This is an automated email from the ASF dual-hosted git repository.
fanjia pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/seatunnel.git
The following commit(s) were added to refs/heads/dev by this push:
new 045b438870 [Improve] [shell] Set the env SEATUNNEL_HOME automatically
(#6924)
045b438870 is described below
commit 045b43887026dbe43060355784ae1c7aab0a17fd
Author: JackeyLee007 <[email protected]>
AuthorDate: Thu May 30 19:06:17 2024 +0800
[Improve] [shell] Set the env SEATUNNEL_HOME automatically (#6924)
---------
Co-authored-by: 李鹏程 <[email protected]>
---
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 644ec02eae..7da7a80259 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"