lib/tasks/concat.rb in buildr-0.22.0 vs lib/tasks/concat.rb in buildr-1.0.0

- old
+ new

@@ -12,10 +12,10 @@ enhance do |task| content = prerequisites.inject("") do |content, prereq| content << File.read(prereq.to_s) if File.exists?(prereq) && !File.directory?(prereq) content end - File.open(task.name, "w") { |file| file.write content } + File.open(task.name, "wb") { |file| file.write content } end end end # :call-seq: