aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorJeff Ames2008-01-26 04:26:12 +0000
committerJeff Ames2008-01-26 04:26:12 +0000
commit582d0a29d566b4d423e0e52a36af34a63f03f0bc (patch)
treeb6be2896fc582d787410f7690d626f517e66ab23
parent* Add statistics reference to the opensim app and the example app (diff)
downloadopensim-SC-582d0a29d566b4d423e0e52a36af34a63f03f0bc.zip
opensim-SC-582d0a29d566b4d423e0e52a36af34a63f03f0bc.tar.gz
opensim-SC-582d0a29d566b4d423e0e52a36af34a63f03f0bc.tar.bz2
opensim-SC-582d0a29d566b4d423e0e52a36af34a63f03f0bc.tar.xz
Set svn properties.
-rw-r--r--[-rwxr-xr-x]OpenSim/Framework/Statistics/UserStatsReporter.cs0
-rwxr-xr-x[-rw-r--r--]Prebuild/scripts/MonoDevelop.sh0
-rwxr-xr-x[-rw-r--r--]Prebuild/scripts/autotools.sh0
-rwxr-xr-x[-rw-r--r--]Prebuild/scripts/nant.sh0
-rwxr-xr-xset-eol-style.sh18
-rwxr-xr-xset-svn-properties.sh53
6 files changed, 53 insertions, 18 deletions
diff --git a/OpenSim/Framework/Statistics/UserStatsReporter.cs b/OpenSim/Framework/Statistics/UserStatsReporter.cs
index 9b3a13f..9b3a13f 100755..100644
--- a/OpenSim/Framework/Statistics/UserStatsReporter.cs
+++ b/OpenSim/Framework/Statistics/UserStatsReporter.cs
diff --git a/Prebuild/scripts/MonoDevelop.sh b/Prebuild/scripts/MonoDevelop.sh
index fbd7669..fbd7669 100644..100755
--- a/Prebuild/scripts/MonoDevelop.sh
+++ b/Prebuild/scripts/MonoDevelop.sh
diff --git a/Prebuild/scripts/autotools.sh b/Prebuild/scripts/autotools.sh
index 18cd46f..18cd46f 100644..100755
--- a/Prebuild/scripts/autotools.sh
+++ b/Prebuild/scripts/autotools.sh
diff --git a/Prebuild/scripts/nant.sh b/Prebuild/scripts/nant.sh
index 0311971..0311971 100644..100755
--- a/Prebuild/scripts/nant.sh
+++ b/Prebuild/scripts/nant.sh
diff --git a/set-eol-style.sh b/set-eol-style.sh
deleted file mode 100755
index 281769e..0000000
--- a/set-eol-style.sh
+++ /dev/null
@@ -1,18 +0,0 @@
1#!/bin/sh
2
3set_eol_style()
4{
5 IFS=$'\n'
6 for file in `find . -iname \*\.$1`; do
7 eolstyle=`svn propget svn:eol-style $file`
8 if [ -z "${eolstyle}" -o "${eolstyle}" != "native" ]; then
9 svn propset svn:eol-style native $file
10 fi
11 done
12}
13
14EXTENSIONS="cs ini example txt sql xml"
15
16for ext in ${EXTENSIONS}; do
17 set_eol_style $ext
18done
diff --git a/set-svn-properties.sh b/set-svn-properties.sh
new file mode 100755
index 0000000..cfd3c93
--- /dev/null
+++ b/set-svn-properties.sh
@@ -0,0 +1,53 @@
1#!/bin/sh
2
3set_eol_style()
4{
5 IFS=$'\n'
6 for file in `find . -iname \*\.$1`; do
7 prop=`svn propget svn:eol-style $file`
8 if [ -z "${prop}" -o "${prop}" != "native" ]; then
9 svn propset svn:eol-style native $file
10 fi
11 done
12 IFS=$' \t\n'
13}
14
15remove_executable()
16{
17 IFS=$'\n'
18 for file in `find . -iname \*\.$1`; do
19 prop=`svn propget svn:executable $file`
20 if [ -n "${prop}" ]; then
21 svn propdel svn:executable $file
22 fi
23 done
24 IFS=$' \t\n'
25}
26
27set_executable()
28{
29 IFS=$'\n'
30 for file in `find . -iname \*\.$1`; do
31 prop=`svn propget svn:executable $file`
32 if [ -z "${prop}" ]; then
33 svn propset svn:executable "*" $file
34 fi
35 done
36 IFS=$' \t\n'
37}
38
39EOL_EXTENSIONS="cs ini example txt sql xml sh"
40NO_EXE_EXTENSIONS="cs ini example txt sql xml"
41EXE_EXTENSIONS="exe sh"
42
43for ext in ${EOL_EXTENSIONS}; do
44 set_eol_style $ext
45done
46
47for ext in ${NO_EXE_EXTENSIONS}; do
48 remove_executable $ext
49done
50
51for ext in ${EXE_EXTENSIONS}; do
52 set_executable $ext
53done