fix(deploy): brace COMPOSE_FILE in Chinese echo string

Bash treated the full-width comma after $COMPOSE_FILE as part of the
variable name under UTF-8 locale, causing an unbound variable error at
the Next.js container rebuild step.
This commit is contained in:
2026-08-18 13:09:23 +08:00
parent 30924a2887
commit f815f87e3d
+1 -1
View File
@@ -276,7 +276,7 @@ cmd_deploy() {
$COMPOSE_CMD -f '$COMPOSE_FILE' up -d $COMPOSE_CMD -f '$COMPOSE_FILE' up -d
echo \"✅ Next.js 容器已重建\" echo \"✅ Next.js 容器已重建\"
else else
echo \"⚠️ 未找到 $COMPOSE_FILE,跳过 Next.js 容器重建\" echo \"⚠️ 未找到 ${COMPOSE_FILE},跳过 Next.js 容器重建\"
fi fi
" "