fix(install): make install.sh POSIX-compatible under dash (#12, dit-operator#362) #13
Loading…
Reference in a new issue
No description provided.
Delete branch "fix-install-posix"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Replaces
set -euo pipefailwith POSIXset -eu+ guarded pipefail enable. Fixes the| sh -s --failure on Debian 12 (dash 0.5.11:set: Illegal option -o pipefail, exit 2) that broke the e2e T0 install-smoke scenario.Resolves:
Verification: syntax-clean under bash + dash 0.5.13.3; idiom safe under
set -e(failed left-of-&&does not abort — confirmed under dash + bash). Could not reproduce the Debian-12/dash-0.5.11 failure locally (nixpkgs dash 0.5.13.3 supports pipefail; posh not packaged); fix verified by construction + clean-run checks. The e2e harness on Debian 12 is the authoritative re-test.Merging updates the live
install.shserved frommain(raw branch URL) — no release cut needed for the script itself.