about summary refs log tree commit homepage
diff options
context:
space:
mode:
-rwxr-xr-xDocumentation/update-footer.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/update-footer.rb b/Documentation/update-footer.rb
index ee6583b..a6e16cb 100755
--- a/Documentation/update-footer.rb
+++ b/Documentation/update-footer.rb
@@ -24,13 +24,13 @@ ARGV.each do |file|
   File.open(file, "r+") do |fp|
     state = :top
     sections = [ state ]
-    sec = { state => "" }
+    sec = { state => ''.dup }
     fp.each_line do |l|
       case l
       when /^(#.+)$/
         state = $1.freeze
         sections << state
-        sec[state] = ""
+        sec[state] = ''.dup
       else
         sec[state] << l
       end