aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/set-eol-style.sh
blob: 30c3e0f3912e67d9ebdbc41ef34f255b07d983cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh

set_eol_style()
{
    for file in $*; do
        svn_status=`svn propget svn:eol-style $file`
        if [ -z "${svn_status}" -o "${svn_status}" != "native" ]; then
            svn propset svn:eol-style native $file
        fi
    done
}

for file in `find OpenSim -name \*\.cs`; do
    set_eol_style $file
done