Call the shells via a sh symlink to trigger their POSIX-compliant behavior (if special-cased based on how the shell was invoked)

This commit is contained in:
Luke Parker
2025-12-08 23:22:55 -05:00
parent 1ab1cad7c5
commit 63133ae530
3 changed files with 11 additions and 7 deletions

View File

@@ -208,7 +208,7 @@ jobs:
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # 6.0.0
- name: shellcheck
run: |
sudo apt install shellcheck
sudo apt install -y shellcheck
find . -iname "*.sh" | while read -r script; do
shellcheck --enable=all --shell=sh --severity=info $script
done