]> de.git.xonotic.org Git - voretournament/voretournament.git/blob - apply-eol-style.sh
a7744c6ce0867adcbe83a7df4957b999f9b53126
[voretournament/voretournament.git] / apply-eol-style.sh
1 #!/bin/sh\r
2 \r
3 while read -r EXT EOLSTYLE; do\r
4         echo "Fixing $EXT..."\r
5         find . -name .svn -prune -o -type f \( -name "*.$EXT" -o -name "$EXT" \) -print0 | \\r
6                 case "$EOLSTYLE" in\r
7                         1)\r
8                                 xargs -0 svn propset svn:eol-style native\r
9                                 ;;\r
10                         0)\r
11                                 xargs -0 svn propdel svn:eol-style\r
12                                 ;;\r
13                 esac\r
14 done <eol-style.txt\r