summaryrefslogtreecommitdiffstats
path: root/extra/svn/reposman.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2008-09-17 19:47:36 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2008-09-17 19:47:36 +0000
commit9e7bce6a94626b4f96133bddc508192f2dfaff4f (patch)
tree3262290f5f7d38f994f36a06dd72907f2e0547f4 /extra/svn/reposman.rb
parent710ac5344d80fe669620021b47050cccb5d95415 (diff)
downloadredmine-9e7bce6a94626b4f96133bddc508192f2dfaff4f.tar.gz
redmine-9e7bce6a94626b4f96133bddc508192f2dfaff4f.zip
Make --command option usable on Windows.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1877 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'extra/svn/reposman.rb')
-rwxr-xr-xextra/svn/reposman.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/extra/svn/reposman.rb b/extra/svn/reposman.rb
index 7bf8e3634..b7aa2a462 100755
--- a/extra/svn/reposman.rb
+++ b/extra/svn/reposman.rb
@@ -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)