mirror of https://github.com/rspamd/rspamd.git
Rapid spam filtering system
https://rspamd.com/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
395 B
11 lines
395 B
#!/bin/sh
|
|
|
|
for d in src src/libserver src/client src/libmime src/libutil src/lua src/classifiers src/tokenizers src/plugins ; do
|
|
file_list=`find ${d} -maxdepth 1 -name "*.c" -or -name "*.h" -type f`
|
|
for file2indent in $file_list
|
|
do
|
|
echo "Indenting file $file2indent"
|
|
uncrustify -f "$file2indent" -c "./uncrustify.cfg" -o indentoutput.tmp
|
|
mv indentoutput.tmp "$file2indent"
|
|
done
|
|
done
|