lib/docman/builders/drupal_drush_builder.rb in docman-0.0.7 vs lib/docman/builders/drupal_drush_builder.rb in docman-0.0.8
- old
+ new
@@ -12,10 +12,10 @@
FileUtils.mkdir_p(@context['temp_path'])
Dir.chdir @context['temp_path']
`drush dl drupal-#{@context.version} --yes`
FileUtils.mkdir_p(@context['full_build_path'])
FileUtils.cp_r(Dir["#{@context['temp_path']}/drupal-#{@context.version}/."], @context['full_build_path'])
- @context['version']
+ @context.version
end
end
end
end