Update variables.sh

This commit is contained in:
bash
2024-08-11 20:28:42 +02:00
committed by GitHub
parent 95e3d5aae0
commit da5de089cb

View File

@@ -1,17 +1,18 @@
#!/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 ${ROOT_DIR}/config/user.env && set +o allexport
set -o allexport && source ${VAR_DIR}/config/user.env && set +o allexport
##########################################################################################
# Server and project internal variables
# https://github.com/azerothcore/azerothcore-wotlk/blob/master/conf/dist
##########################################################################################
AUTHSERVER="${ROOT_DIR}/_server/azerothcore/acore.sh run-authserver"
WORLDSERVER="${ROOT_DIR}/_server/azerothcore/acore.sh run-worldserver"
AUTHSERVER="${VAR_DIR}/_server/azerothcore/acore.sh run-authserver"
WORLDSERVER="${VAR_DIR}/_server/azerothcore/acore.sh run-worldserver"
AUTHSERVER_SESSION="auth-session"
WORLDSERVER_SESSION="world-session"
@@ -20,4 +21,4 @@ MYSQL_USER=acore
MYSQL_PASSWORD=acore
MYSQL_DATABASE=acore_auth
DATAPATH=${ROOT_DIR}/_server/azerothcore/env/dist/bin
DATAPATH=${VAR_DIR}/_server/azerothcore/env/dist/bin