Skip to content

scripts: fix shellcheck SC2046 warnings#19432

Closed
vszakats wants to merge 19 commits into
curl:masterfrom
vszakats:xargz
Closed

scripts: fix shellcheck SC2046 warnings#19432
vszakats wants to merge 19 commits into
curl:masterfrom
vszakats:xargz

Conversation

@vszakats

@vszakats vszakats commented Nov 9, 2025

Copy link
Copy Markdown
Member

Fix SC2046: "Quote this to prevent word splitting."
Ref: https://www.shellcheck.net/wiki/SC2046

Also:

  • shellcheck.sh: add set -eu.
  • shellcheck.sh, yamlcheck.sh: always run from repo root.
  • pass -- before passing the list of files, where missing.
  • badwords.pl, cleancmd.pl: rework to accept git ls-files arguments.
    Requires Perl 5.22+ (2015-Jun-01) on Windows.
    Ref: https://perldoc.perl.org/functions/open
  • INTERNALS.md: require Perl 5.22 on Windows.
  • spacecheck.pl: formatting.
  • GHA/http3-linux: rework command to avoid SC2046.
  • stop suppressing SC2046 warnings.

The yamlcheck.sh issue reported-by: Stanislav Fort (Aisle Research)
Ref: 20251109163515_6eb31da3-deb2-4f4d-8327-935904f27da5

@vszakats vszakats added the script label Nov 9, 2025
@github-actions github-actions Bot added the CI Continuous Integration label Nov 9, 2025
@vszakats vszakats marked this pull request as draft November 9, 2025 23:41
@vszakats vszakats marked this pull request as ready for review November 9, 2025 23:58
@vszakats vszakats marked this pull request as draft November 10, 2025 02:14
@vszakats vszakats marked this pull request as ready for review November 10, 2025 02:29
@vszakats vszakats closed this in b39c158 Nov 10, 2025
@vszakats vszakats deleted the xargz branch November 10, 2025 13:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI Continuous Integration script

Development

Successfully merging this pull request may close these issues.

1 participant