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 ##########################################################################################