]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/whitespace.sh
Merge branch 'Mirio/credits' into 'master'
[xonotic/xonotic-data.pk3dir.git] / qcsrc / whitespace.sh
1 #!/usr/bin/env bash
2
3 find . -type f -print0 |                                    \
4     xargs -0 sed -i                                         \
5         `# strip trailing spaces`                           \
6         -e 's/[[:space:]]*$//'                              \
7         `# line feed at EOF for #include to work properly`  \
8         -e '$a\'