[sh] enable strict mode in all shell scripts #13

Open
dym wants to merge 3 commits from strict-mode into main
Member

set -euo pipefail opts into strict mode; -o pipefail was unsupported by dash until recently, but fortunately the server is already running Debian 13/trixie https://bugs.debian.org/1071238 so it's supported by all shells now. (/bin/sh being dash on Debian)

There's also no "keyfile" being passed, the pubkey is in the argument not a file.

`set -euo pipefail` opts into strict mode; `-o pipefail` was unsupported by `dash` until recently, but fortunately the server is already running Debian 13/trixie https://bugs.debian.org/1071238 so it's supported by all shells now. (`/bin/sh` being `dash` on Debian) There's also no "keyfile" being passed, the pubkey is in the argument not a file.
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'strict-mode:strict-mode'
git switch 'strict-mode'
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
hackportland/scripts!13
No description provided.