This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Rename git to git_repo

  • Loading branch information...
1 parent 0c9d448 commit c5453704dd3996fdae4bb462ce697c0a23109c2d @ninja-cat ninja-cat committed Oct 19, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 build/build.rb
View
@@ -9,10 +9,10 @@
Dir.glob("#{ENV['CROWBAR_DIR']}/barclamps/*/crowbar.yml").each do |yml|
data = YAML.load_file(yml)
- next if data["git"].nil?
+ next if data["git_repo"].nil?
bc_name = yml.split('barclamps/').last.split('/').first
repo_data[bc_name] = []
- data["git"].each do |repo|
+ data["git_repo"].each do |repo|
repo_name, origin = repo.split(' ')
branches = repo.split(' ').drop(2) || []
repo_data[bc_name] << { repo_name => {"origin" => origin, "branches" => branches } }

0 comments on commit c545370

Please sign in to comment.