From 7e9a3ea04218e830fe06a372778cc1dc95bac8fc Mon Sep 17 00:00:00 2001 From: Alexander Wilms Date: Sun, 22 Oct 2023 17:44:51 +0000 Subject: [PATCH] CI step "Ensure LF line endings": Don't create subshell for grouped commands --- .github/workflows/github.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/github.yml b/.github/workflows/github.yml index aa3604c5c..2ffefd71b 100644 --- a/.github/workflows/github.yml +++ b/.github/workflows/github.yml @@ -151,7 +151,7 @@ jobs: find . -path ./.git -prune -o -path ./AI/FuzzyLite -prune -o -path ./android -prune \ -o -path ./osx -prune -o -path ./test/googletest -prune -o -type f \ -not -name '*.png' -and -not -name '*.vcxproj*' -and -not -name '*.props' \ - -not -name '*.wav' -not -name '*.ico' -print0 | ( ! xargs -0 grep -l -z -P '\r\n' ) + -not -name '*.wav' -not -name '*.ico' -print0 | { ! xargs -0 grep -l -z -P '\r\n'; } - name: Validate JSON # the Python yaml module doesn't seem to work on mac-arm