From a88e3362116fae2567290f0ef8ae7931e91c731f Mon Sep 17 00:00:00 2001 From: wangqi Date: Mon, 1 Apr 2024 11:47:18 +0800 Subject: [PATCH] fix: mkdir directory failed --- tools/docker/build/scaleph-seatunnel/install-plugin.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/docker/build/scaleph-seatunnel/install-plugin.sh b/tools/docker/build/scaleph-seatunnel/install-plugin.sh index 02b01b584..b66c99477 100755 --- a/tools/docker/build/scaleph-seatunnel/install-plugin.sh +++ b/tools/docker/build/scaleph-seatunnel/install-plugin.sh @@ -31,9 +31,9 @@ if [ -n "$1" ]; then fi echo "Install SeaTunnel plugin dependencis" -mkdir ${SEATUNNEL_HOME}/plugins/mysql-cdc/lib +mkdir -p ${SEATUNNEL_HOME}/plugins/mysql-cdc/lib ${SEATUNNEL_HOME}/mvnw dependency:get -DgroupId=mysql -DartifactId=mysql-connector-java -Dversion=8.0.28 -Ddest=${SEATUNNEL_HOME}/plugins/mysql-cdc/lib -mkdir ${SEATUNNEL_HOME}/plugins/jdbc/lib +mkdir -p ${SEATUNNEL_HOME}/plugins/jdbc/lib ${SEATUNNEL_HOME}/mvnw dependency:get -DgroupId=mysql -DartifactId=mysql-connector-java -Dversion=8.0.28 -Ddest=${SEATUNNEL_HOME}/plugins/jdbc/lib echo "Install SeaTunnel connectors plugins, usage version is ${version}"