runastyle: add line which strips trailing whitspaces from cfg files (and run it on the files)

This commit is contained in:
Matthias Krüger 2014-03-21 01:28:40 +01:00
parent 30006cf06f
commit e8dd3e83cf
2 changed files with 11 additions and 9 deletions

View File

@ -35,3 +35,5 @@ astyle $style $options --recursive "samples/*.cpp"
# Convert tabs to spaces.. even in strings
# sed -i "s/\t/ /g" test/test*.cpp
# strip useless whitespaces from config files
sed -i "s/\ $//" cfg/*