mirror of
https://github.com/openclaw/openclaw.git
synced 2026-03-12 07:20:45 +00:00
build: add local node bin to restart script PATH
This commit is contained in:
@@ -14,6 +14,9 @@ LAUNCH_AGENT="${HOME}/Library/LaunchAgents/com.steipete.clawdis.plist"
|
||||
log() { printf '%s\n' "$*"; }
|
||||
fail() { printf 'ERROR: %s\n' "$*" >&2; exit 1; }
|
||||
|
||||
# Ensure local node binaries (rolldown, tsc, pnpm) are discoverable for the steps below.
|
||||
export PATH="${ROOT_DIR}/node_modules/.bin:${PATH}"
|
||||
|
||||
run_step() {
|
||||
local label="$1"; shift
|
||||
log "==> ${label}"
|
||||
|
||||
Reference in New Issue
Block a user