Skip to content

Commit 86b6415

Browse files
fix: fix the variable name errors in the installation script
1 parent e5b63d9 commit 86b6415

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

installer/install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ function check_and_prepare_env_params() {
3232
# 获取已安装的 SQLBOT 的运行目录
3333
SQLBOT_BASE=$(grep "^SQLBOT_BASE=" /usr/bin/sctl | cut -d'=' -f2)
3434
SQLBOT_BASE_OLD=${SQLBOT_BASE}
35-
sed -i -e "s#SQLBOT_BASE=.*#SQLBOT_BASE_BASE=${SQLBOT_BASE}#g" sctl
35+
sed -i -e "s#SQLBOT_BASE=.*#SQLBOT_BASE=${SQLBOT_BASE}#g" sctl
3636
\cp sctl /usr/local/bin && chmod +x /usr/local/bin/sctl
3737

3838
log_content "停止 SQLBot 服务"

0 commit comments

Comments
 (0)