aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework
diff options
context:
space:
mode:
authorDavid Walter Seikel2016-11-03 22:03:41 +1000
committerDavid Walter Seikel2016-11-03 22:03:41 +1000
commit55146c0b17c58b4da37f23ddcd5922ebc6a30e69 (patch)
tree5ff8532159932ac80809812d1d688415cc41adfc /OpenSim/Framework
parentInitial update to OpenSim 0.8.2.1 source code. (diff)
downloadopensim-SC_OLD-55146c0b17c58b4da37f23ddcd5922ebc6a30e69.zip
opensim-SC_OLD-55146c0b17c58b4da37f23ddcd5922ebc6a30e69.tar.gz
opensim-SC_OLD-55146c0b17c58b4da37f23ddcd5922ebc6a30e69.tar.bz2
opensim-SC_OLD-55146c0b17c58b4da37f23ddcd5922ebc6a30e69.tar.xz
Fix version stuffs.
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r--OpenSim/Framework/Servers/Tests/VersionInfoTests.cs2
-rw-r--r--OpenSim/Framework/VersionInfo.cs4
2 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Framework/Servers/Tests/VersionInfoTests.cs b/OpenSim/Framework/Servers/Tests/VersionInfoTests.cs
index 480f2bb..2d72cb8 100644
--- a/OpenSim/Framework/Servers/Tests/VersionInfoTests.cs
+++ b/OpenSim/Framework/Servers/Tests/VersionInfoTests.cs
@@ -47,7 +47,7 @@ namespace OpenSim.Framework.Servers.Tests
47 { 47 {
48 foreach (VersionInfo.Flavour flavour in Enum.GetValues(typeof(VersionInfo.Flavour))) 48 foreach (VersionInfo.Flavour flavour in Enum.GetValues(typeof(VersionInfo.Flavour)))
49 { 49 {
50 Assert.AreEqual(VersionInfo.VERSIONINFO_VERSION_LENGTH, VersionInfo.GetVersionString("0.0.0", flavour).Length, "0.0.0/" + flavour + " failed"); 50 Assert.AreEqual(VersionInfo.VERSIONINFO_VERSION_LENGTH, VersionInfo.GetVersionString("0.0.0", "0", flavour).Length, "0.0.0/" + flavour + " failed");
51 } 51 }
52 } 52 }
53 } 53 }
diff --git a/OpenSim/Framework/VersionInfo.cs b/OpenSim/Framework/VersionInfo.cs
index 356e720..1b9ec76 100644
--- a/OpenSim/Framework/VersionInfo.cs
+++ b/OpenSim/Framework/VersionInfo.cs
@@ -30,7 +30,7 @@ namespace OpenSim
30 public class VersionInfo 30 public class VersionInfo
31 { 31 {
32 public const string VersionNumber = "0.8.2.1"; 32 public const string VersionNumber = "0.8.2.1";
33 private const string IG_BUILD_NUMBER = "4"; 33 private const string IG_BUILD_NUMBER = "1";
34 private const Flavour VERSION_FLAVOUR = Flavour.IG; 34 private const Flavour VERSION_FLAVOUR = Flavour.IG;
35 35
36 public enum Flavour 36 public enum Flavour
@@ -48,7 +48,7 @@ namespace OpenSim
48 48
49 public static string Version 49 public static string Version
50 { 50 {
51 get { return GetVersionString(VersionNumber, IG_BUILD_NUMBER, IG_BUILD_NUMBER, VERSION_FLAVOUR); } 51 get { return GetVersionString(VersionNumber, IG_BUILD_NUMBER, VERSION_FLAVOUR); }
52 } 52 }
53 53
54 public static string GetVersionString(string versionNumber, string buildNumber, Flavour flavour) 54 public static string GetVersionString(string versionNumber, string buildNumber, Flavour flavour)