Single-line `local a=… b="…$a…"` referenced the 1st var before it was bound within the SAME `local` statement, aborting under set -u on Cygwin/MobaXterm (and modern bash). Split larry.sh:6903 (/ssh-set-hciroot) and the same latent pattern at larry.sh:6925 (/ssh) into set-u-safe declare-then-assign form. Codebase-wide bug-class audit (larry.sh + all lib/*.sh + scripts): zero remaining instances. Closed the v0.8.15 gate gap by driving the ACTUAL REPL slash-dispatch handler bodies under set -u + BASH_COMPAT=3.2 (not just the ssh-helper subcommand): /ssh-set-hciroot normal + empty-path-clear, /ssh, and usage paths all pass; old code aborts under the same harness. No-traffic-bypass line unchanged. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2 lines
7 B
Plaintext
2 lines
7 B
Plaintext
0.8.16
|