mirror of
https://hub.njuu.cf/TheAlgorithms/C-Plus-Plus.git
synced 2023-10-11 13:05:55 +08:00
try print0 flag
This commit is contained in:
parent
2a674c3d9e
commit
9844d887b0
2
.github/workflows/clang-format.yml
vendored
2
.github/workflows/clang-format.yml
vendored
@ -24,7 +24,7 @@ jobs:
|
|||||||
git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/$GITHUB_REPOSITORY
|
git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/$GITHUB_REPOSITORY
|
||||||
- name: Filename Formatter
|
- name: Filename Formatter
|
||||||
run: |
|
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
|
do
|
||||||
echo "${fname}"
|
echo "${fname}"
|
||||||
new_fname=`echo ${fname} | tr ' ' '_'`
|
new_fname=`echo ${fname} | tr ' ' '_'`
|
||||||
|
Loading…
Reference in New Issue
Block a user