diff --git a/ci/shellcheck.sh b/ci/shellcheck.sh index 9dfae04dd2..00d68a96a2 100755 --- a/ci/shellcheck.sh +++ b/ci/shellcheck.sh @@ -4,15 +4,15 @@ set -e cd "$(dirname "$0")/.." - -set -x -find . -name "*.sh" \ - -not -regex ".*/ci/semver_bash/.*" \ - -not -regex ".*/.cargo/.*" \ - -not -regex ".*/node_modules/.*" \ - -not -regex ".*/target/.*" \ - -print0 \ - | xargs -0 \ - ci/docker-run.sh koalaman/shellcheck --color=always --external-sources --shell=bash - +( + set -x + find . -name "*.sh" \ + -not -regex ".*/ci/semver_bash/.*" \ + -not -regex ".*/.cargo/.*" \ + -not -regex ".*/node_modules/.*" \ + -not -regex ".*/target/.*" \ + -print0 \ + | xargs -0 \ + ci/docker-run.sh koalaman/shellcheck --color=always --external-sources --shell=bash +) echo --- ok