diff options
author | Jeff Ames | 2007-12-15 02:36:31 +0000 |
---|---|---|
committer | Jeff Ames | 2007-12-15 02:36:31 +0000 |
commit | 53b5fa49745cd5928efac8e77924c99172114396 (patch) | |
tree | 144981ea1bc28892aa04c666d617ca828e810f49 | |
parent | update to OpenSimExport to test loading of a Region (diff) | |
download | opensim-SC_OLD-53b5fa49745cd5928efac8e77924c99172114396.zip opensim-SC_OLD-53b5fa49745cd5928efac8e77924c99172114396.tar.gz opensim-SC_OLD-53b5fa49745cd5928efac8e77924c99172114396.tar.bz2 opensim-SC_OLD-53b5fa49745cd5928efac8e77924c99172114396.tar.xz |
Set svn:eol-style. Cleaned up set-eol-style.sh a bit.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Framework/AssetRequest.cs | 18 | ||||
-rwxr-xr-x | set-eol-style.sh | 14 |
2 files changed, 21 insertions, 11 deletions
diff --git a/OpenSim/Framework/AssetRequest.cs b/OpenSim/Framework/AssetRequest.cs index 163ab70..19db1d4 100644 --- a/OpenSim/Framework/AssetRequest.cs +++ b/OpenSim/Framework/AssetRequest.cs | |||
@@ -1,10 +1,10 @@ | |||
1 | using libsecondlife; | 1 | using libsecondlife; |
2 | 2 | ||
3 | namespace OpenSim.Framework | 3 | namespace OpenSim.Framework |
4 | { | 4 | { |
5 | public struct AssetRequest | 5 | public struct AssetRequest |
6 | { | 6 | { |
7 | public LLUUID AssetID; | 7 | public LLUUID AssetID; |
8 | public bool IsTexture; | 8 | public bool IsTexture; |
9 | } | 9 | } |
10 | } \ No newline at end of file | 10 | } \ No newline at end of file |
diff --git a/set-eol-style.sh b/set-eol-style.sh index f47580d..30c3e0f 100755 --- a/set-eol-style.sh +++ b/set-eol-style.sh | |||
@@ -1,5 +1,15 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | 2 | ||
3 | find OpenSim -name \*\.cs | xargs perl -pi -e 's/\r//' | 3 | set_eol_style() |
4 | find OpenSim -name \*\.cs | xargs svn propset svn:eol-style native | 4 | { |
5 | for file in $*; do | ||
6 | svn_status=`svn propget svn:eol-style $file` | ||
7 | if [ -z "${svn_status}" -o "${svn_status}" != "native" ]; then | ||
8 | svn propset svn:eol-style native $file | ||
9 | fi | ||
10 | done | ||
11 | } | ||
5 | 12 | ||
13 | for file in `find OpenSim -name \*\.cs`; do | ||
14 | set_eol_style $file | ||
15 | done | ||