Fix engine not starting on Windows if linked against SDL > 2.0.5
[xonotic/darkplaces.git] / svn-eol-style-from-gitattributes.sh
1 for F in *; do
2         exec 3<.gitattributes
3         while read <&3 -r L S; do
4                 if [ -z "${F##$L}" ]; then
5                         s=$S
6                 fi
7         done
8         case "$s" in
9                 '-diff -crlf')
10                         svn propdel svn:eol-style "$F"
11                         ;;
12                 '-crlf')
13                         svn propdel svn:eol-style "$F"
14                         ;;
15                 'crlf=input')
16                         svn propset svn:eol-style native "$F"
17                         ;;
18                 *)
19                         echo "UNKNOWN: $s"
20                         ;;
21         esac
22 done