This commit is contained in:
Timothy N. Tsvetkov 2011-04-28 11:32:46 +04:00
parent 84f905910e
commit ec0186a489
1 changed files with 1 additions and 5 deletions

View File

@ -18,11 +18,7 @@ namespace :repositories do
next
end
begin
project = main.projects.create(:name => project_name, :unixname => project_name)
rescue
next
end
project = main.projects.create(:name => project_name, :unixname => project_name)
puts "Executing: 'rm -rf #{project.git_repo_path}'"
`rm -rf #{project.git_repo_path}`