diff options
author | Eric Wong <e@80x24.org> | 2016-01-17 23:14:21 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2016-01-17 23:14:21 +0000 |
commit | 0699498e5eb717a351c223e6a5a6a3bd3d3c6cde (patch) | |
tree | bc3e23b1a6faad9bc4c28f8d44a480cda47ac669 /Documentation | |
parent | bb011dcc8df61c3bb0be7bdfa7fb8d1d09b71765 (diff) | |
download | dtas-0699498e5eb717a351c223e6a5a6a3bd3d3c6cde.tar.gz |
Oops :x
Diffstat (limited to 'Documentation')
-rwxr-xr-x | Documentation/update-footer.rb | 4 |
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 |