curl/.github/scripts
Viktor Szakats 8a622baf9e
OS400: fix shellcheck warnings in scripts
- use `$()` instead of backticks, and re-arrange double-quotes inside.
- add missing `|| exit 1` to `cd` calls. (could be dropped by using `set -eu`.)
- add `-n` to a few `if`s.
- shorten redirections by using `{} >` (as shellcheck recommended).
- silence warnings where variables were detected as unused (SC2034).
- a couple misc updates to silence warnings.
- switch to bash shebang for `-ot` feature.
- split two lines to unbreak syntax highlighting in my editor. (`$(expr \`, `$(dirname \`)

Also enable CI checks for OS/400 shell scripts.

Ref: #13307
Closes #13309
2024-04-11 07:48:51 +00:00
..
badwords.pl GHA: add a job scanning for "bad words" in markdown 2024-01-24 08:44:34 +01:00
badwords.txt docs: more language cleanups 2024-02-27 16:19:43 +01:00
cleancmd.pl spellcheck.yml: remove .1/.3 handling, clean all man page .md files 2024-02-19 11:41:12 +01:00
cleanspell.pl spellcheck.yml: remove .1/.3 handling, clean all man page .md files 2024-02-19 11:41:12 +01:00
codespell-ignore.txt CI: codespell 2023-11-23 13:07:26 +01:00
shellcheck.sh OS400: fix shellcheck warnings in scripts 2024-04-11 07:48:51 +00:00
spellcheck.words VULN-DISCLOSURE-POLICY.md: update detail about CVE requests 2024-03-08 13:16:27 +01:00
spellcheck.yaml DISTROS: add document with distro pointers 2024-03-26 00:26:55 +01:00
verify-examples.pl docs: introduce "curldown" for libcurl man page format 2024-01-23 00:29:02 +01:00
verify-synopsis.pl tidy-up: whitespace 2023-12-08 03:28:50 +00:00