diff options
author | Sean Dague | 2007-10-25 15:44:38 +0000 |
---|---|---|
committer | Sean Dague | 2007-10-25 15:44:38 +0000 |
commit | acde4910b4321a2b804090e6d87cd2d984672cee (patch) | |
tree | b30862630441475e1555a7e37801421efd9583fc /set-eol-style.sh | |
parent | fix line endings (diff) | |
download | opensim-SC-acde4910b4321a2b804090e6d87cd2d984672cee.zip opensim-SC-acde4910b4321a2b804090e6d87cd2d984672cee.tar.gz opensim-SC-acde4910b4321a2b804090e6d87cd2d984672cee.tar.bz2 opensim-SC-acde4910b4321a2b804090e6d87cd2d984672cee.tar.xz |
add my set-eol-style script. Can be run on Linux
to fix the source tree for new files without native
line endings.
Diffstat (limited to '')
-rwxr-xr-x | set-eol-style.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/set-eol-style.sh b/set-eol-style.sh new file mode 100755 index 0000000..f47580d --- /dev/null +++ b/set-eol-style.sh | |||
@@ -0,0 +1,5 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | find OpenSim -name \*\.cs | xargs perl -pi -e 's/\r//' | ||
4 | find OpenSim -name \*\.cs | xargs svn propset svn:eol-style native | ||
5 | |||