Skip to content

Commit

Permalink
Optimize the execution logic of the script.
Browse files Browse the repository at this point in the history
  • Loading branch information
Zzm0809 committed Dec 19, 2024
1 parent 3f208f7 commit d5b597c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script/bin/init_jdbc_driver.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
DINKY_LIB_DIR=$1

echo -e "${GREEN}Start downloading the mysql driver package...${RESET}"
# 执行查看文件是否存在
# Run the command to check whether the file exists
exec_result=$(ll "${DINKY_LIB_DIR}"/mysql-connector-j-8.4.0.jar)
if [ "$exec_result" ]; then
echo -e "${YELLOW}The mysql driver package already exists, no need to download it again. Skip this step。${RESET}"
Expand Down

0 comments on commit d5b597c

Please sign in to comment.