apply-clang-format.sh: Adapt to new expat_config.h.cmake line endings

This commit is contained in:
Sebastian Pipping 2019-08-11 02:12:18 +02:00
parent 45e1b4f595
commit 08a7d458bd

View File

@ -42,10 +42,8 @@ find \
| sort \ | sort \
| xargs clang-format -i -style=file -verbose | xargs clang-format -i -style=file -verbose
dos2unix expat_config.h.cmake
sed \ sed \
-e 's, @$,@,' \ -e 's, @$,@,' \
-e 's,#\( \+\)cmakedefine,\1#cmakedefine,' \ -e 's,#\( \+\)cmakedefine,\1#cmakedefine,' \
-i \ -i \
expat_config.h.cmake expat_config.h.cmake
unix2dos expat_config.h.cmake