[CI/Build] Make shellcheck happy (#10285)

Signed-off-by: DarkLight1337 <tlleungac@connect.ust.hk>
This commit is contained in:
Cyrus Leung
2024-11-14 09:47:53 +00:00
committed by GitHub
parent 03025c023f
commit 675d603400
2 changed files with 8 additions and 7 deletions
+2 -1
View File
@@ -1,4 +1,5 @@
#!/bin/bash
set -e
scversion="stable"
@@ -18,4 +19,4 @@ if ! [ -x "$(command -v shellcheck)" ]; then
fi
# TODO - fix warnings in .buildkite/run-amd-test.sh
find . -name "*.sh" -not -path "./.buildkite/run-amd-test.sh" -exec sh -c 'git check-ignore -q $1 || shellcheck $1' _ {} \;
find . -name "*.sh" -not -path "./.buildkite/run-amd-test.sh" -print0 | xargs -0 -I {} sh -c 'git check-ignore -q "{}" || shellcheck "{}"'