4 SRCDIRS="$WRKDIR/src $WRKDIR/plugins $WRKDIR/renderer $WRKDIR/thumbnailer"
10 FILES=$(find $SRCDIRS -type f -name \*.cpp -o -name \*.h)
13 astyle --indent=spaces=4 --brackets=linux \
14 --indent-labels --unpad=paren \
15 --pad=oper --convert-tabs \
16 --indent-preprocessor \
19 echo -n "Delete .orig files (y/N) ? "
22 if [ "x${del}" = "xy" ]
24 echo "removing .orig files"
25 find $SRCDIRS -iname "*.orig" -exec rm {} ";"
27 echo "Not deleting .orig files"