Browse files

Update and fix Rails locale fetch script

  • Loading branch information...
1 parent 605b0ed commit 6c642afa606651fa7360cab7d5faca25f9464bd8 @yaroslav yaroslav committed Jan 27, 2009
Showing with 3 additions and 3 deletions.
  1. +3 −3 rails/script/update.rb
View
6 rails/script/update.rb
@@ -4,9 +4,9 @@
puts "Fetching latest Rails locale files to #{rails_locale_dir}"
exec %(
- curl http://github.com/rails/rails/tree/master/actionpack/lib/action_view/locale/en.yml?raw=true > #{rails_locale_dir}/action_view.yml
+ curl -Lo '#{rails_locale_dir}/action_view.yml' http://github.com/rails/rails/tree/master/actionpack/lib/action_view/locale/en.yml?raw=true
- curl http://github.com/rails/rails/tree/master/activerecord/lib/active_record/locale/en.yml?raw=true > #{rails_locale_dir}/active_record.yml
+ curl -Lo '#{rails_locale_dir}/active_record.yml' http://github.com/rails/rails/tree/master/activerecord/lib/active_record/locale/en.yml?raw=true
- curl http://github.com/rails/rails/tree/master/activesupport/lib/active_support/locale/en.yml?raw=true > #{rails_locale_dir}/active_support.yml
+ curl -Lo '#{rails_locale_dir}/active_support.yml' http://github.com/rails/rails/tree/master/activesupport/lib/active_support/locale/en.yml?raw=true
)

0 comments on commit 6c642af

Please sign in to comment.