Skip to content

Commit

Permalink
Ensure tmp directory exists
Browse files Browse the repository at this point in the history
Ensure the  directory exists before cloning
  • Loading branch information
Wayne Graham committed Feb 26, 2015
1 parent 8cf7bb3 commit 2319945
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/tasks/geo_combine.rake
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ namespace :geocombine do
ogm_repos = JSON.parse(Net::HTTP.get(ogm_api_uri)).map{ |repo| repo['git_url']}
ogm_repos.each do |repo|
if repo =~ /^git:\/\/github.com\/OpenGeoMetadata\/edu.*/
system "cd tmp && git clone #{repo}"
system "mkdir -p tmp && cd tmp && git clone #{repo}"
end
end
end
Expand Down

0 comments on commit 2319945

Please sign in to comment.