From efeba85662dccff77062fe5b7f83c93f1bcc16ee Mon Sep 17 00:00:00 2001 From: Jeff Ames Date: Wed, 28 May 2008 00:35:10 +0000 Subject: Change a couple Windows directory separators in SVN module to be platform agnostic. --- OpenSim/Region/Modules/SvnSerialiser/SvnBackupModule.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'OpenSim/Region/Modules') diff --git a/OpenSim/Region/Modules/SvnSerialiser/SvnBackupModule.cs b/OpenSim/Region/Modules/SvnSerialiser/SvnBackupModule.cs index 5691d59..8f314b1 100644 --- a/OpenSim/Region/Modules/SvnSerialiser/SvnBackupModule.cs +++ b/OpenSim/Region/Modules/SvnSerialiser/SvnBackupModule.cs @@ -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 filenames = m_serialiser.SerialiseRegion(scene, m_svndir + Slash.DirectorySeparatorChar + scene.RegionInfo.RegionID + "\\"); + List filenames = m_serialiser.SerialiseRegion(scene, m_svndir + Slash.DirectorySeparatorChar + scene.RegionInfo.RegionID + Slash.DirectorySeparatorChar); try { -- cgit v1.1