]> icculus.org git repositories - divverent/nexuiz.git/blob - data/apply-eol-style.sh
interesting metrics (idea by KrimZon) to maybe sort players in the
[divverent/nexuiz.git] / data / apply-eol-style.sh
1 #!/bin/sh
2
3 while read -r EXT EOLSTYLE; do
4         echo "Fixing $EXT..."
5         find . -name .svn -prune -o -type f \( -name "*.$EXT" -o -name "$EXT" \) -print0 | \
6                 case "$EOLSTYLE" in
7                         1)
8                                 xargs -0 svn propset svn:eol-style native
9                                 ;;
10                         0)
11                                 xargs -0 svn propdel svn:eol-style
12                                 ;;
13                 esac
14 done <eol-style.txt