summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
Diffstat (limited to 'data')
-rwxr-xr-xdata/run-uncrustify.sh4
1 files changed, 1 insertions, 3 deletions
diff --git a/data/run-uncrustify.sh b/data/run-uncrustify.sh
index 17c8c0086..b023a6445 100755
--- a/data/run-uncrustify.sh
+++ b/data/run-uncrustify.sh
@@ -6,10 +6,8 @@ then
for FILE in $(find $DIR -name "*.c")
do
# Aligning prototypes is not working yet, so avoid headers
- #uncrustify -c kr-gnome-indent.cfg --no-backup $(find $DIR -name "*.[ch]")
- echo $FILE
uncrustify -c uncrustify.cfg --no-backup $FILE
- ./lineup-parameters $FILE > $FILE.temp && cat $FILE.temp > $FILE && rm -f $FILE.temp
+ ./lineup-parameters $FILE > $FILE.temp && echo "$(<$FILE)" > $FILE && rm -f $FILE.temp
done
done
else