Skip to content

Commit a6dc4ac

Browse files
authored
Merge pull request #801 from gassmoeller/fix_indent_warning
Fix indent warning
2 parents 0da29dd + 6ffb07f commit a6dc4ac

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/indent

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ fi
3434
# collect all header and source files and process them in batches of 50 files
3535
# with up to 10 in parallel
3636

37-
find include source tests/unit_tests \( -name '*.cc' -o -name '*.h' \) -print | xargs -n 50 -P 10 astyle --options=doc/astyle-2.04.rc
37+
find include source tests/unit_tests \( -name '*.cc' -o -name '*.h' \) -print0 | xargs -0 -n 50 -P 10 astyle --options=doc/astyle-2.04.rc
3838
# remove execute permission on source files:
39-
find include source tests/unit_tests \( -name '*.cc' -o -name '*.h' -o -name '*.prm' \) -print | xargs -n 50 -P 10 chmod -x
39+
find include source tests/unit_tests \( -name '*.cc' -o -name '*.h' -o -name '*.prm' \) -print0 | xargs -0 -n 50 -P 10 chmod -x
4040

4141
# convert dos formatted files to unix file format by stripping out
4242
# carriage returns (15=0x0D):
@@ -48,5 +48,5 @@ dos_to_unix()
4848
rm -f $f.tmp
4949
}
5050
export -f dos_to_unix
51-
find include source \( -name '*.cc' -o -name '*.h' -o -name '*.prm' \) -print | xargs -n 1 -P 10 -I {} bash -c 'dos_to_unix "$@"' _ {}
51+
find include source \( -name '*.cc' -o -name '*.h' -o -name '*.prm' \) -print0 | xargs -0 -P 10 -I {} bash -c 'dos_to_unix "$@"' _ {}
5252

0 commit comments

Comments
 (0)