From a1833cda3bfd9708d8e6357aad10f91d1ab2a38b Mon Sep 17 00:00:00 2001 From: Yingchun Lai Date: Tue, 13 Aug 2024 14:19:42 +0800 Subject: [PATCH] zk --- build_tools/pack_tools.sh | 5 +++++ run.sh | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/build_tools/pack_tools.sh b/build_tools/pack_tools.sh index 8b6a44e2b8..24d78f2efe 100755 --- a/build_tools/pack_tools.sh +++ b/build_tools/pack_tools.sh @@ -159,6 +159,11 @@ mkdir -p ${pack}/admin_tools copy_file ./admin_tools/* ${pack}/admin_tools/ chmod +x ${pack}/admin_tools/*.sh +mkdir -p ${pack}/build_tools +copy_file ./build_tools/download_*.sh ${pack}/build_tools/ +copy_file ./build_tools/*_zk.sh ${pack}/build_tools/ +chmod +x ${pack}/build_tools/*.sh + mkdir -p ${pack}/src/server copy_file ./src/server/*.ini ${pack}/src/server/ diff --git a/run.sh b/run.sh index a8a66f5532..f01b9c022f 100755 --- a/run.sh +++ b/run.sh @@ -656,7 +656,7 @@ function run_start_zk() fi fi - INSTALL_DIR="$INSTALL_DIR" PORT="$PORT" $ROOT/admin_tools/start_zk.sh + INSTALL_DIR="$INSTALL_DIR" PORT="$PORT" $ROOT/build_tools/start_zk.sh } ##################### @@ -693,7 +693,7 @@ function run_stop_zk() esac shift done - INSTALL_DIR="$INSTALL_DIR" $ROOT/admin_tools/stop_zk.sh + INSTALL_DIR="$INSTALL_DIR" $ROOT/build_tools/stop_zk.sh } ##################### @@ -730,7 +730,7 @@ function run_clear_zk() esac shift done - INSTALL_DIR="$INSTALL_DIR" $ROOT/admin_tools/clear_zk.sh + INSTALL_DIR="$INSTALL_DIR" $ROOT/build_tools/clear_zk.sh } #####################