fix: Keep source builds local and disable mod-pocket-portal

This commit is contained in:
Deckard
2025-10-24 02:01:14 -04:00
parent f8835a1951
commit b5b009bc3b
6 changed files with 119 additions and 45 deletions

View File

@@ -106,8 +106,15 @@ compose(){
}
ensure_source_repo(){
local module_playerbots
module_playerbots="$(read_env MODULE_PLAYERBOTS "0")"
local default_source="./source/azerothcore"
if [ "$module_playerbots" = "1" ]; then
default_source="./source/azerothcore-playerbots"
fi
local src_path
src_path="$(read_env MODULES_REBUILD_SOURCE_PATH "./source/azerothcore")"
src_path="$(read_env MODULES_REBUILD_SOURCE_PATH "$default_source")"
if [[ "$src_path" != /* ]]; then
src_path="$ROOT_DIR/$src_path"
fi