Skip to content

Commit

Permalink
fix rhogen
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitrys committed Jan 23, 2013
1 parent 12c698e commit 59b0d74
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions res/generators/rhogen.rb
Expand Up @@ -556,11 +556,15 @@ def old_step_through_templates
end

def step_through_templates
@generator.setup_xml
if @generator.respond_to? :setup_xml
@generator.setup_xml

$modules.each do |module_item|
$cur_module = module_item
old_step_through_templates
$modules.each do |module_item|
$cur_module = module_item
old_step_through_templates
end
else
old_step_through_templates
end
end
end
Expand Down

0 comments on commit 59b0d74

Please sign in to comment.