]> source.dussan.org Git - redmine.git/commitdiff
Make --command option usable on Windows.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Wed, 17 Sep 2008 19:47:36 +0000 (19:47 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Wed, 17 Sep 2008 19:47:36 +0000 (19:47 +0000)
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1877 e93f8b46-1217-0410-a6f0-8f06a7374b81

extra/svn/reposman.rb

index 7bf8e36343454ebd01cd6748e02c9c290915dc9b..b7aa2a46218a662989bed9783f0ef42defea3268 100755 (executable)
@@ -220,7 +220,7 @@ projects.each do |project|
     next;
   end
 
-  repos_path = $repos_base + "/" + project.identifier
+  repos_path = File.join($repos_base, project.identifier).gsub(File::SEPARATOR, File::ALT_SEPARATOR || File::SEPARATOR)
 
   if File.directory?(repos_path)