diff --git a/.github/workflows/clang-format.yml b/.github/workflows/clang-format.yml index 90c7ffc82..b50b8717e 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' -print0` + find . -type f -name '*.cpp' -o -name '*.h' -print0 | while read -d $'\0' fname do echo "${fname}" new_fname=`echo ${fname} | tr ' ' '_'`