diff options
author | Sean Dague | 2009-02-09 19:59:08 +0000 |
---|---|---|
committer | Sean Dague | 2009-02-09 19:59:08 +0000 |
commit | 6bc9e0614c00ad58cdc83f106468a3bd79035225 (patch) | |
tree | 695c2ba2bf53458da0d5545bba7bf03b95b6b23a | |
parent | Add a bunch of missing svn line ending properties (diff) | |
download | opensim-SC_OLD-6bc9e0614c00ad58cdc83f106468a3bd79035225.zip opensim-SC_OLD-6bc9e0614c00ad58cdc83f106468a3bd79035225.tar.gz opensim-SC_OLD-6bc9e0614c00ad58cdc83f106468a3bd79035225.tar.bz2 opensim-SC_OLD-6bc9e0614c00ad58cdc83f106468a3bd79035225.tar.xz |
add a script for fixing line endings (at least from linux)
-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 | |||