
#!/bin/sh

for a in *.ui
do 
 	sed -i 's/^# Created.*$//' $a
	pyuic4 $a -o Ui_`basename $a .ui`.py -x
done
pyrcc4 icons.qrc -o icons_rc.py


#!/bin/sh

for a in *.ui; do pyuic4 $a -o Ui_`basename $a .ui`.py -x; done
pyrcc4 icons.qrc -o icons_rc.py

--- 
+++ 
@@ -1,9 +1,5 @@
 
 #!/bin/sh
 
-for a in *.ui
-do 
- 	sed -i 's/^# Created.*$//' $a
-	pyuic4 $a -o Ui_`basename $a .ui`.py -x
-done
+for a in *.ui; do pyuic4 $a -o Ui_`basename $a .ui`.py -x; done
 pyrcc4 icons.qrc -o icons_rc.py
Stop generating useless diffs on unchanged files
