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:
@@ -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 ==="
|
||||||
|
|||||||
Reference in New Issue
Block a user