Skip to content
Browse files

Update paths in the update data script

  • Loading branch information...
1 parent 2e28948 commit 6ae1679dcaa918854591d18c20b4db2411dc9d81 @jim committed Mar 5, 2014
Showing with 3 additions and 3 deletions.
  1. +3 −3 script/update_data.rb
View
6 script/update_data.rb
@@ -34,8 +34,8 @@ def write_data_to_path_as_yaml(data, path)
{ path => hash }
}
- write_file(data, 'iso_data/' + path)
- write_file(wrapped_locale_data, 'locale/en/' + path)
+ write_file(data, 'iso_data/base/' + path)
+ write_file(wrapped_locale_data, 'locale/base/en/' + path)
end
def write_regions_to_path_as_yaml(regions_data, path)
@@ -52,7 +52,7 @@ def write_regions_to_path_as_yaml(regions_data, path)
puts "Downloading data"
-data_path = Pathname.new(File.expand_path('../../iso_data', __FILE__))
+data_path = Pathname.new(File.expand_path('../../iso_data/base', __FILE__))
tmp_path = data_path + 'tmp'
FileUtils.mkdir_p(tmp_path)

0 comments on commit 6ae1679

Please sign in to comment.
Something went wrong with that request. Please try again.