diff options
| author | Jesse Vincent <jesse@fsck.com> | 2026-02-21 10:40:30 -0800 |
|---|---|---|
| committer | Jesse Vincent <jesse@fsck.com> | 2026-02-21 10:40:30 -0800 |
| commit | 31bbbe2dbb6ea718c410f1d858c7fdffb12ea678 (patch) | |
| tree | e49b0d2d32da44dcf55555093060f0b0f1e61aa8 /tests/opencode | |
| parent | 5fbefbd0a96074f871ec465f0c54f913c1e4919f (diff) | |
fix: quote CLAUDE_PLUGIN_ROOT for spaces, use POSIX-safe path resolution
- Quote ${CLAUDE_PLUGIN_ROOT} in hooks.json to handle paths with spaces
(e.g. "C:\Users\Robert Zimmermann\...")
- Replace bash-only ${BASH_SOURCE[0]:-$0} with POSIX-safe $0 in
run-hook.cmd so the Unix path doesn't break on dash (/bin/sh)
Addresses: #518 (spaces in path), Ubuntu/Debian compatibility
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Diffstat (limited to 'tests/opencode')
0 files changed, 0 insertions, 0 deletions
