Skip to content

Commit 3dd4a90

Browse files
committed
fixup
1 parent f0deb0f commit 3dd4a90

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
@@ -5,7 +5,7 @@
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
1111
fi
@@ -34,7 +34,7 @@ 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' \) -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:
3939
find 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
}
5050
export -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

0 commit comments

Comments
 (0)