Explorar el Código

trim trailing spaces in mingw makefiles

Steffen Jaeckel hace 11 años
padre
commit
98e05b10a0
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      updatemakes.sh

+ 2 - 1
updatemakes.sh

@@ -19,7 +19,8 @@ sed -e 's/ *$//' < tmp.delme > makefile.unix
 rm -f tmp.delme
 
 perl filter.pl makefile.mingw tmplist
-mv -f tmp.delme makefile.mingw
+sed -e 's/ *$//' < tmp.delme > makefile.mingw
+rm -f tmp.delme
 
 perl filter.pl makefile.msvc tmplist
 sed -e 's/\.o /.obj /g' -e 's/ *$//' < tmp.delme > makefile.msvc