Update variables.sh

This commit is contained in:
bash
2024-08-11 20:29:43 +02:00
committed by GitHub
parent da5de089cb
commit 9e97f5966a

View File

@@ -1,18 +1,17 @@
#!/bin/bash
ROOT_DIR="$(cd -P -- "$(dirname -- "$0")" && pwd -P)"
VAR_DIR="$(cd -P -- "$(dirname -- "$0")" && pwd -P)"
##########################################################################################
# DO NOT MODIFY THIS FILE, SEE /config/user.env settings instead!!
##########################################################################################
set -o allexport && source ${VAR_DIR}/config/user.env && set +o allexport
set -o allexport && source ${ROOT_DIR}/config/user.env && set +o allexport
##########################################################################################
# Server and project internal variables
# https://github.com/azerothcore/azerothcore-wotlk/blob/master/conf/dist
##########################################################################################
AUTHSERVER="${VAR_DIR}/_server/azerothcore/acore.sh run-authserver"
WORLDSERVER="${VAR_DIR}/_server/azerothcore/acore.sh run-worldserver"
AUTHSERVER="${ROOT_DIR}/_server/azerothcore/acore.sh run-authserver"
WORLDSERVER="${ROOT_DIR}/_server/azerothcore/acore.sh run-worldserver"
AUTHSERVER_SESSION="auth-session"
WORLDSERVER_SESSION="world-session"
@@ -21,4 +20,4 @@ MYSQL_USER=acore
MYSQL_PASSWORD=acore
MYSQL_DATABASE=acore_auth
DATAPATH=${VAR_DIR}/_server/azerothcore/env/dist/bin
DATAPATH=${ROOT_DIR}/_server/azerothcore/env/dist/bin