【发布时间】:2021-02-26 06:32:08
【问题描述】:
尝试在 macOS Catalina 中安装 AzerothCore Database 时,使用:
bash ./bin/acore-db-asm
我收到以下错误:
azerothcore-wotlk/apps/db_assembler/includes/functions.sh:第 117 行:${1,,}:错误替换
【问题讨论】:
标签: mysql bash macos mariadb azerothcore
尝试在 macOS Catalina 中安装 AzerothCore Database 时,使用:
bash ./bin/acore-db-asm
我收到以下错误:
azerothcore-wotlk/apps/db_assembler/includes/functions.sh:第 117 行:${1,,}:错误替换
【问题讨论】:
标签: mysql bash macos mariadb azerothcore
macOS 默认带有较旧版本的 bash,这是导致问题的原因。
该脚本仅适用于 bash 5 或更新版本,可以使用 [brew] 安装:
运行brew install bash
重启终端
使用bash --version确保 bash 现在有正确的版本
运行脚本。您可能需要在其前面加上 bash,例如bash ./bin/acore-db-asm
【讨论】: