fix: add flags to build

This commit is contained in:
uprightbass360
2025-10-28 17:51:02 -04:00
parent cc38e2d4d2
commit 7d012a52d0

View File

@@ -189,15 +189,15 @@ ensure_source_repo(){
exit 1
fi
warn "AzerothCore source not found at $src_path; running setup-source.sh"
if ! (cd "$ROOT_DIR" && ./scripts/setup-source.sh); then
err "Failed to setup source repository"
warn "AzerothCore source not found at $src_path; running setup-source.sh" >&2
if ! (cd "$ROOT_DIR" && ./scripts/setup-source.sh) >&2; then
err "Failed to setup source repository" >&2
exit 1
fi
# Verify the source was actually created
if [ ! -d "$src_path/.git" ]; then
err "Source repository setup failed - no git directory at $src_path"
err "Source repository setup failed - no git directory at $src_path" >&2
exit 1
fi