aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/fixsvnbits.sh
diff options
context:
space:
mode:
authorSean Dague2009-02-09 19:59:08 +0000
committerSean Dague2009-02-09 19:59:08 +0000
commit6bc9e0614c00ad58cdc83f106468a3bd79035225 (patch)
tree695c2ba2bf53458da0d5545bba7bf03b95b6b23a /fixsvnbits.sh
parentAdd a bunch of missing svn line ending properties (diff)
downloadopensim-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)
Diffstat (limited to 'fixsvnbits.sh')
-rwxr-xr-xfixsvnbits.sh8
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
6find OpenSim -type f | grep -v '.svn' | xargs perl -pi -e 's/\r//g'
7find OpenSim -type f | grep -v '.svn' | xargs svn propset svn:eol-style native
8