This is an automated email from the ASF dual-hosted git repository.

zhongjiajie pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git


The following commit(s) were added to refs/heads/dev by this push:
     new 85f6a6e73c use wildcard import (#14697)
85f6a6e73c is described below

commit 85f6a6e73cc84f757f16635ac91bf776542f21f7
Author: xiangzihao <[email protected]>
AuthorDate: Thu Aug 3 19:04:00 2023 +0800

    use wildcard import (#14697)
---
 dolphinscheduler-standalone-server/src/main/bin/start.sh | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/dolphinscheduler-standalone-server/src/main/bin/start.sh 
b/dolphinscheduler-standalone-server/src/main/bin/start.sh
index 332c15e170..7cbc8639a9 100755
--- a/dolphinscheduler-standalone-server/src/main/bin/start.sh
+++ b/dolphinscheduler-standalone-server/src/main/bin/start.sh
@@ -42,11 +42,9 @@ fi
 
 CP=""
 for d in $DOLPHINSCHEDULER_HOME/libs/*; do
-  for f in $d/*.jar; do
-    CP=$CP:$f
-  done
+  CP=$CP:"$d/*"
 done
 
 $JAVA_HOME/bin/java $JAVA_OPTS \
-  -cp "$DOLPHINSCHEDULER_HOME/conf":"$CP" \
+  -cp "$DOLPHINSCHEDULER_HOME/conf""$CP" \
   org.apache.dolphinscheduler.StandaloneServer

Reply via email to