From 9844d887b0a7f6aba1736d30bb2aa8149cb178e2 Mon Sep 17 00:00:00 2001 From: Krishna Vedala <7001608+kvedala@users.noreply.github.com> Date: Fri, 29 May 2020 18:37:32 -0400 Subject: [PATCH] try print0 flag --- .github/workflows/clang-format.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/clang-format.yml b/.github/workflows/clang-format.yml index 8f7f4a7b2..90c7ffc82 100644 --- a/.github/workflows/clang-format.yml +++ b/.github/workflows/clang-format.yml @@ -24,7 +24,7 @@ jobs: git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/$GITHUB_REPOSITORY - name: Filename Formatter run: | - for fname in $(find . -type f -name '*.cpp' -o -name '*.h') + for fname in `find . -type f -name '*.cpp' -o -name '*.h' -print0` do echo "${fname}" new_fname=`echo ${fname} | tr ' ' '_'`