summaryrefslogtreecommitdiffhomepage
path: root/Rakefile
diff options
context:
space:
mode:
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Rakefile b/Rakefile
index 8064d2000..d475bcff7 100644
--- a/Rakefile
+++ b/Rakefile
@@ -132,7 +132,11 @@ file presym_file => cfiles+rbfiles do
presyms = File.readlines(presym_file, chomp: true) rescue []
if presyms != symbols
rm_f presym_file
- File.write(presym_file, symbols.join("\n"))
+ File.open(presym_file, "w") do |f|
+ symbols.each do|line|
+ f.puts line
+ end
+ end
end
end