【问题标题】:AzerothCore DBand macOS: functions.sh: line 117: ${1,,}: bad substitutionAzerothCore DBand macOS:functions.sh:第 117 行:${1,,}:错误替换
【发布时间】: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


    【解决方案1】:

    macOS 默认带有较旧版本的 bash,这是导致问题的原因。

    该脚本仅适用于 bash 5 或更新版本,可以使用 [brew] 安装:

    1. 运行brew install bash

    2. 重启终端

    3. 使用bash --version确保 bash 现在有正确的版本

    4. 运行脚本。您可能需要在其前面加上 bash,例如bash ./bin/acore-db-asm

    【讨论】:

      猜你喜欢
      • 2012-02-05
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-11-08
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多