From e8dd3e83cff96e6e562a397f3069f650c51a25cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Kr=C3=BCger?= Date: Fri, 21 Mar 2014 01:28:40 +0100 Subject: [PATCH] runastyle: add line which strips trailing whitspaces from cfg files (and run it on the files) --- cfg/std.cfg | 18 +++++++++--------- runastyle | 2 ++ 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/cfg/std.cfg b/cfg/std.cfg index ec2154f5a..148c7c6c1 100644 --- a/cfg/std.cfg +++ b/cfg/std.cfg @@ -27,21 +27,21 @@ 0- - - false - + + false + - - false - + + false + 0- - - false - + + false + diff --git a/runastyle b/runastyle index f3c059d25..e8e5dbf26 100755 --- a/runastyle +++ b/runastyle @@ -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/*