Skip to content

Commit

Permalink
worker和agent支持java17和java8同步运行 #10586
Browse files Browse the repository at this point in the history
优化下载安装脚本
  • Loading branch information
tangruotian committed Oct 30, 2024
1 parent 95e916d commit 7313175
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion support-files/agent-package/script/linux/install.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
function checkFiles()
{
if [ "$enable_check_files" == "true" ]; then
if [[ "$enable_check_files" == "true" ]]; then
# 检查当前目录是否有文件
if [ "$(find . -maxdepth 1 -type f | wc -l)" -gt 0 ]; then
echo "fatal: current directory is not empty, please install in an empty directory"
Expand Down
2 changes: 1 addition & 1 deletion support-files/agent-package/script/macos/install.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
function checkFiles()
{
if [ "$enable_check_files" == "true" ]; then
if [[ "$enable_check_files" == "true" ]]; then
# 检查当前目录是否有文件
if [ "$(find . -maxdepth 1 -type f | wc -l)" -gt 0 ]; then
echo "fatal: current directory is not empty, please install in an empty directory"
Expand Down

0 comments on commit 7313175

Please sign in to comment.