diff options
author | Carlos Soriano <csoriano@gnome.org> | 2016-08-29 18:03:27 +0200 |
---|---|---|
committer | Carlos Soriano <csoriano@gnome.org> | 2016-08-29 18:03:27 +0200 |
commit | efb88eaf2267f18f9b9f3d4256c1fbfeba8d13f7 (patch) | |
tree | 136ceb209001e59a50354ee561a8b1afcf723eb9 | |
parent | a70ac9e8e8a83596cceeece514e25b11cfd0800c (diff) | |
download | nautilus-efb88eaf2267f18f9b9f3d4256c1fbfeba8d13f7.tar.gz |
f
-rwxr-xr-x | data/run-uncrustify.sh | 4 |
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 |