mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-13 01:08:35 +00:00
Fix start scripts (#8005)
* fix(Bash): Handle missing env variable Bash installation failed when no explicit `zipPath` was set. As it defaulted to `/`, which led to permission errors. * fix(Docker): Fix docker volume error Docker installation failed, because target directories of volumes should not end with a `/`. https://stackoverflow.com/questions/68273745/how-to-make-a-mount-shared-in-docker/68455665#68455665
This commit is contained in:
@@ -227,7 +227,7 @@ function inst_download_client_data {
|
||||
|
||||
# first check if it's defined in env, otherwise use the default
|
||||
local path="${DATAPATH:-$AC_BINPATH_FULL}"
|
||||
local zipPath="${DATAPATH_ZIP:-"$DATAPATH/data.zip"}"
|
||||
local zipPath="${DATAPATH_ZIP:-"$path/data.zip"}"
|
||||
|
||||
dataVersionFile="$path/data-version"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user