upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/docs/tutorials/README.md
diff options
context:
space:
mode:
authorDanConwayDev <DanConwayDev@protonmail.com>2026-02-24 08:58:23 +0000
committerDanConwayDev <DanConwayDev@protonmail.com>2026-02-24 08:58:23 +0000
commitf62846b2966e0a3ffc93e718bbe44137d01c66b3 (patch)
treecac224e3f330fefca79c728ed05235b6bb29d98f /docs/tutorials/README.md
parentc54ce061d6d278cce8362d5af085808ca60c239b (diff)
fix migration scripts for non-interactive SSH and bash 5.3
01-fetch-events.sh: nak buffers output when stdout is not a TTY, causing it to hang silently in non-interactive SSH sessions. Wrap with 'script' to provide a pseudo-TTY, then strip the injected carriage returns and connection banner line from the output. 40-classify-actions.sh: bash 5.3 treats ${#assoc[@]} and array iteration as unbound variable errors under set -u when arrays are empty. Replace ${#assoc[@]} with explicit counters and guard array iterations with set +u/set -u.
Diffstat (limited to 'docs/tutorials/README.md')
0 files changed, 0 insertions, 0 deletions