File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 55# World Builder, the same indenting program (astyle) and version (2.04) is used
66# to indent the files of the World Builder.
77
8- if test ! -d source -o ! -d include/world_builder -d include/visualization -d include/app ; then
8+ if test ! -d source -o ! -d include ; then
99 echo " Error: The indenting script must be run from the top level directory of the World Builder."
1010 exit
1111fi
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' \) -print0 | xargs -0 -n 50 -P 10 astyle --options=doc/astyle-2.04.rc
37+ find include/world_builder include/visualization include/app 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:
3939find include source tests/unit_tests \( -name ' *.cc' -o -name ' *.h' -o -name ' *.prm' \) -print0 | xargs -0 -n 50 -P 10 chmod -x
4040
@@ -48,5 +48,5 @@ dos_to_unix()
4848 rm -f $f .tmp
4949}
5050export -f 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 "$@"' _ {}
51+ find include/world_builder include/visualization include/app source \( -name ' *.cc' -o -name ' *.h' -o -name ' *.prm' \) -print0 | xargs -0 -P 10 -I {} bash -c ' dos_to_unix "$@"' _ {}
5252
You can’t perform that action at this time.
0 commit comments