lib/sprout/remote_file_target.rb in sprout-1.0.2.pre vs lib/sprout/remote_file_target.rb in sprout-1.0.3.pre

- old
+ new

@@ -56,10 +56,10 @@ Sprout::RemoteFileLoader.load(url, md5, pkg_name) end def write_archive bytes FileUtils.mkdir_p File.dirname(downloaded_file) - File.open downloaded_file, 'w+' do |f| + File.open downloaded_file, 'wb+' do |f| f.write bytes end end def unpack_archive