mirror of
https://github.com/opensim/opensim.git
synced 2026-08-10 03:06:05 +08:00
add a script for fixing line endings (at least from linux)
This commit is contained in:
8
fixsvnbits.sh
Executable file
8
fixsvnbits.sh
Executable file
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user