diff options
Diffstat (limited to 'set-eol-style.sh')
-rwxr-xr-x | set-eol-style.sh | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/set-eol-style.sh b/set-eol-style.sh deleted file mode 100755 index 281769e..0000000 --- a/set-eol-style.sh +++ /dev/null | |||
@@ -1,18 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | set_eol_style() | ||
4 | { | ||
5 | IFS=$'\n' | ||
6 | for file in `find . -iname \*\.$1`; do | ||
7 | eolstyle=`svn propget svn:eol-style $file` | ||
8 | if [ -z "${eolstyle}" -o "${eolstyle}" != "native" ]; then | ||
9 | svn propset svn:eol-style native $file | ||
10 | fi | ||
11 | done | ||
12 | } | ||
13 | |||
14 | EXTENSIONS="cs ini example txt sql xml" | ||
15 | |||
16 | for ext in ${EXTENSIONS}; do | ||
17 | set_eol_style $ext | ||
18 | done | ||