From 98ed0e6ff9e4bcc113b435bd5c64878bf01e47ec Mon Sep 17 00:00:00 2001 From: bashermens <31279994+hermensbas@users.noreply.github.com> Date: Sat, 10 Jan 2026 16:13:56 +0100 Subject: [PATCH] Update 4_server-compile.sh --- script/4_server-compile.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/script/4_server-compile.sh b/script/4_server-compile.sh index 62abce2..4257165 100755 --- a/script/4_server-compile.sh +++ b/script/4_server-compile.sh @@ -28,9 +28,10 @@ then # in that case 'compile build' is enough and much much faster # https://www.azerothcore.org/wiki/linux-core-installation ########################################################################################## - sudo ${ROOT_DIR}/_server/azerothcore/acore.sh compiler clean - sudo env AC_CMAKE_BUILD_TYPE=RelWithDebInfo ${ROOT_DIR}/_server/azerothcore/acore.sh compiler configure - sudo ${ROOT_DIR}/_server/azerothcore/acore.sh compiler compile + export AC_CMAKE_BUILD_TYPE=RelWithDebInfo + sudo -E ${ROOT_DIR}/_server/azerothcore/acore.sh compiler clean + sudo -E compiler configure + sudo -E ${ROOT_DIR}/_server/azerothcore/acore.sh compiler compile ##########################################################################################