From 45cae469857136549bb4dc2beac6e236ce7fcde0 Mon Sep 17 00:00:00 2001 From: rongzedong Date: Thu, 26 Feb 2026 17:29:50 +0800 Subject: [PATCH] Update install.sh MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修改 /bin/sh 为 /bin/bash --- install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 3d76cf1d7..4f68c9111 100644 --- a/install.sh +++ b/install.sh @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash WORD_DIR=$(cd $(dirname $0); pwd) SERVICE_NAME="wvp" @@ -13,7 +13,7 @@ if [ "$(id -u)" -ne 0 ]; then echo fi -# 当前目录直接搜索(不含子目录) +# 当前目录直接搜索(不含子目录) bugfix: 这里使用了需要bash才可以支持的内容 jar_files=(*.jar) if [ ${#jar_files[@]} -eq 0 ]; then