Make --command option usable on Windows.

git-svn-id: http://redmine.rubyforge.org/svn/trunk@1877 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2008-09-17 19:47:36 +00:00
parent 710ac5344d
commit 9e7bce6a94
1 changed files with 1 additions and 1 deletions

View File

@ -220,7 +220,7 @@ projects.each do |project|
next; next;
end 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) if File.directory?(repos_path)