mirror of
https://github.com/uprightbass360/AzerothCore-RealmMaster.git
synced 2026-01-30 00:43:49 +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
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
warn "AzerothCore source not found at $src_path; running setup-source.sh"
|
warn "AzerothCore source not found at $src_path; running setup-source.sh" >&2
|
||||||
if ! (cd "$ROOT_DIR" && ./scripts/setup-source.sh); then
|
if ! (cd "$ROOT_DIR" && ./scripts/setup-source.sh) >&2; then
|
||||||
err "Failed to setup source repository"
|
err "Failed to setup source repository" >&2
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Verify the source was actually created
|
# Verify the source was actually created
|
||||||
if [ ! -d "$src_path/.git" ]; then
|
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
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user