[nautilus/wip/csoriano/uncrustify: 3/5] f



commit 4012682facad192050ef932d438e65f9a18c7cd3
Author: Carlos Soriano <csoriano gnome org>
Date:   Mon Aug 29 18:12:20 2016 +0200

    f

 data/run-uncrustify.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/data/run-uncrustify.sh b/data/run-uncrustify.sh
index 83a596d..3114f55 100755
--- a/data/run-uncrustify.sh
+++ b/data/run-uncrustify.sh
@@ -7,7 +7,7 @@ then
         do
             # Aligning prototypes is not working yet, so avoid headers
             uncrustify -c uncrustify.cfg --no-backup $FILE
-            ./lineup-parameters $FILE > $FILE.temp && echo "$(<$FILE.temp)" > $FILE && rm -f $FILE.temp
+            ./lineup-parameters $FILE > $FILE.temp && mv $FILE.temp $FILE
        done
     done
 else


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]