From 7d012a52d0d9f776c604dec73b881f0e5700050b Mon Sep 17 00:00:00 2001 From: uprightbass360 Date: Tue, 28 Oct 2025 17:51:02 -0400 Subject: [PATCH] fix: add flags to build --- build.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/build.sh b/build.sh index 29f5737..acf45e1 100755 --- a/build.sh +++ b/build.sh @@ -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