mirror of
https://github.com/uprightbass360/AzerothCore-RealmMaster.git
synced 2026-01-13 00:58:34 +00:00
fix: add flags to build
This commit is contained in:
8
build.sh
8
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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user