From 6bc9e0614c00ad58cdc83f106468a3bd79035225 Mon Sep 17 00:00:00 2001 From: Sean Dague Date: Mon, 9 Feb 2009 19:59:08 +0000 Subject: add a script for fixing line endings (at least from linux) --- fixsvnbits.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 fixsvnbits.sh diff --git a/fixsvnbits.sh b/fixsvnbits.sh new file mode 100755 index 0000000..6f34506 --- /dev/null +++ b/fixsvnbits.sh @@ -0,0 +1,8 @@ +#!/bin/sh + +# This can be used to fix up the svn bits to keep line endings sane +# between platforms. + +find OpenSim -type f | grep -v '.svn' | xargs perl -pi -e 's/\r//g' +find OpenSim -type f | grep -v '.svn' | xargs svn propset svn:eol-style native + -- cgit v1.1