about summary refs log tree commit homepage
path: root/Documentation/update-footer.rb
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2016-01-17 23:14:21 +0000
committerEric Wong <e@80x24.org>2016-01-17 23:14:21 +0000
commit0699498e5eb717a351c223e6a5a6a3bd3d3c6cde (patch)
treebc3e23b1a6faad9bc4c28f8d44a480cda47ac669 /Documentation/update-footer.rb
parentbb011dcc8df61c3bb0be7bdfa7fb8d1d09b71765 (diff)
downloaddtas-0699498e5eb717a351c223e6a5a6a3bd3d3c6cde.tar.gz
Oops :x
Diffstat (limited to 'Documentation/update-footer.rb')
-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