Update install.sh

修改 /bin/sh 为 /bin/bash
This commit is contained in:
rongzedong
2026-02-26 17:29:50 +08:00
committed by GitHub
parent f00ae2b43d
commit 45cae46985
+2 -2
View File
@@ -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