diff --git a/OpenSim/Framework/AssetRequest.cs b/OpenSim/Framework/AssetRequest.cs index 163ab701df..19db1d4cd6 100644 --- a/OpenSim/Framework/AssetRequest.cs +++ b/OpenSim/Framework/AssetRequest.cs @@ -1,10 +1,10 @@ -using libsecondlife; - -namespace OpenSim.Framework -{ - public struct AssetRequest - { - public LLUUID AssetID; - public bool IsTexture; - } +using libsecondlife; + +namespace OpenSim.Framework +{ + public struct AssetRequest + { + public LLUUID AssetID; + public bool IsTexture; + } } \ No newline at end of file diff --git a/set-eol-style.sh b/set-eol-style.sh index f47580d3a2..30c3e0f391 100755 --- a/set-eol-style.sh +++ b/set-eol-style.sh @@ -1,5 +1,15 @@ #!/bin/sh -find OpenSim -name \*\.cs | xargs perl -pi -e 's/\r//' -find OpenSim -name \*\.cs | xargs svn propset svn:eol-style native +set_eol_style() +{ + for file in $*; do + svn_status=`svn propget svn:eol-style $file` + if [ -z "${svn_status}" -o "${svn_status}" != "native" ]; then + svn propset svn:eol-style native $file + fi + done +} +for file in `find OpenSim -name \*\.cs`; do + set_eol_style $file +done