diff options
Diffstat (limited to 'fixsvnbits.sh')
-rwxr-xr-x | fixsvnbits.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/fixsvnbits.sh b/fixsvnbits.sh new file mode 100755 index 0000000..6f34506 --- /dev/null +++ b/fixsvnbits.sh | |||
@@ -0,0 +1,8 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | # This can be used to fix up the svn bits to keep line endings sane | ||
4 | # between platforms. | ||
5 | |||
6 | find OpenSim -type f | grep -v '.svn' | xargs perl -pi -e 's/\r//g' | ||
7 | find OpenSim -type f | grep -v '.svn' | xargs svn propset svn:eol-style native | ||
8 | |||