fix(install): repo root is 4 levels up from scripts/, not 3

The path math bug predates the split (same wrong depth in the monorepo
version); it only surfaces now that the error branch is reachable.
This commit is contained in:
yeuimu
2026-09-23 04:01:55 +00:00
parent 2a186c9acc
commit b7eb065c20
@@ -10,8 +10,8 @@
set -e set -e
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
# Resolve the repo root: skill lives at <root>/.agents/skills/inkreach-teable/ # Resolve the repo root: skill lives at <root>/.agents/skills/inkreach-teable/scripts/
REPO_ROOT="$(cd "$SCRIPT_DIR/../../.." && pwd)" REPO_ROOT="$(cd "$SCRIPT_DIR/../../../.." && pwd)"
SKILL_DIR="$REPO_ROOT/.agents/skills/inkreach-teable" SKILL_DIR="$REPO_ROOT/.agents/skills/inkreach-teable"
echo "=== inkreach-teable CLI installation ===" echo "=== inkreach-teable CLI installation ==="