Commit 08bcabd
fix(sandbox/bwrap): replace bash-only \${@:3} with POSIX shift
The launcher shell script used bash/zsh array slicing (\${@:3}), which
dash (Ubuntu's /bin/sh on CI runners) rejects with "Bad substitution"
and exit 2. Every sandbox/bwrap test failed because bwrap was never
actually invoked.
Host dev shell happened to be bash so local tests passed; CI uses dash.
Switch to portable \`shift 2; exec "\$b" "\$@" < "\$p"\` — works on dash,
bash, and zsh.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 4ef9128 commit 08bcabd
1 file changed
Lines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
434 | 434 | | |
435 | 435 | | |
436 | 436 | | |
437 | | - | |
| 437 | + | |
438 | 438 | | |
439 | 439 | | |
440 | 440 | | |
441 | 441 | | |
442 | | - | |
443 | | - | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
444 | 445 | | |
445 | 446 | | |
446 | 447 | | |
| |||
0 commit comments