catch more directories in the formatting script

This commit is contained in:
Dane Springmeyer 2011-11-13 19:39:43 -08:00
parent 62a5e457f1
commit f5d0f8c351

View file

@ -2,8 +2,8 @@
# batch format *.{hpp,cpp} files # batch format *.{hpp,cpp} files
MAPNIK_DIR="/Users/artem/projects/mapnik" MAPNIK_DIR=`pwd`
DIRS="$MAPNIK_DIR/src $MAPNIK_DIR/include $MAPNIK_DIR/bindings $MAPNIK_DIR/utils" DIRS="$MAPNIK_DIR/plugins $MAPNIK_DIR/demo/c++ $MAPNIK_DIR/src $MAPNIK_DIR/include $MAPNIK_DIR/bindings $MAPNIK_DIR/utils"
EMACS="emacs" EMACS="emacs"
for file in $(find $DIRS -name '*.cpp' -o -name '*.hpp') for file in $(find $DIRS -name '*.cpp' -o -name '*.hpp')