Change a couple Windows directory separators in SVN module to be platform agnostic.

0.6.0-stable
Jeff Ames 2008-05-28 00:35:10 +00:00
parent eed2f7ac18
commit efeba85662
1 changed files with 2 additions and 2 deletions

View File

@ -53,7 +53,7 @@ namespace OpenSim.Region.Modules.SvnSerialiser
private IRegionSerialiser m_serialiser;
private bool m_svnAutoSave = false;
private SvnClient m_svnClient;
private string m_svndir = "SVNmodule\\repo";
private string m_svndir = "SVNmodule" + Slash.DirectorySeparatorChar + "repo";
private string m_svnpass = "password";
private TimeSpan m_svnperiod = new TimeSpan(0, 0, 15, 0, 0);
@ -96,7 +96,7 @@ namespace OpenSim.Region.Modules.SvnSerialiser
{
m_log.Info("[SVNBACKUP]: Saving a region to SVN with name " + scene.RegionInfo.RegionName);
List<string> filenames = m_serialiser.SerialiseRegion(scene, m_svndir + Slash.DirectorySeparatorChar + scene.RegionInfo.RegionID + "\\");
List<string> filenames = m_serialiser.SerialiseRegion(scene, m_svndir + Slash.DirectorySeparatorChar + scene.RegionInfo.RegionID + Slash.DirectorySeparatorChar);
try
{