Fedora 43 has sha256sum but no shasum (Perl's Digest::SHA), and its /bin/sh
is bash 5.3, which runs the last command of an `a && b` -c string in sh's
place.
- install.sh's check_host stops with "needs sha256sum or shasum" before
downloading; its sha256 already used either. install.txtar covers
shasum alone, both, sha256sum alone and neither, with made-up sums.
- scripts/release.sh and scripts/bump.sh get a sha256 helper (sha256sum,
else shasum -a 256) in place of four shasum calls.
- gc_orphans, release, release_head and tools scripts hash with sha256sum,
else shasum. tools' old fallback never fell back (the pipeline's
status was cut's).
- ls and existing_agents restart a VM outside devvm with
`sh -c '... && limactl start ...; exit $?'`: without the exit, bash's
sh exec'd the stub, whose ha.pid then named the test runner (the pid
devvm recorded), so the VM still looked confined.
- The install page lists sha256sum or shasum among the script's needs.
Co-Authored-By: Claude Opus 5.5 <[email protected]>