fix: make all scripts resolve paths relative to repo root
CloneVendorRepos.sh and CleanVendor.sh resolved vendor/ relative to scripts/ instead of the repo root, so vendor repos were cloned to the wrong location (scripts/vendor) and docker-compose builds (which expect ./vendor at repo root) would fail. BuildAll.sh and StatusCheck.sh had the same issue, cd-ing to scripts/ instead of the repo root before running docker compose. Also updated validate-all.sh with the 10 newer MCP servers that were added after the script was last maintained (firefly-iii, actual, paperless, beszel, gitea, grafana, ha, limesurvey, linkwarden, superset) plus added missing env vars for audiobook-mcp and drawio-mcp.
This commit is contained in:
@@ -22,8 +22,9 @@ if [ "$CONFIRM" != "yes" ]; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
# Vendor directory
|
||||
VENDOR_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)/vendor"
|
||||
# Vendor directory (repo root is parent of scripts/)
|
||||
REPO_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
|
||||
VENDOR_DIR="$REPO_ROOT/vendor"
|
||||
|
||||
echo ""
|
||||
echo "Removing vendor directories..."
|
||||
|
||||
Reference in New Issue
Block a user