]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - apply-eol-style.sh
Add zoomfraction check back, to avoid drawpic at 0 alpha.
[xonotic/xonotic-data.pk3dir.git] / 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