info/toc: Tidy up last line

mksubj.pl neglects to terminate info/toc's last line with a newline.
info-test doesn't care.  Tidy up anyway.

Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
This commit is contained in:
Markus Armbruster 2016-06-25 13:02:36 +02:00
parent 88698d73c7
commit cd3c362a57

View file

@ -29,7 +29,7 @@
# #
# Known contributors to this file: # Known contributors to this file:
# Ken Stevens (when it was still info.pl) # Ken Stevens (when it was still info.pl)
# Markus Armbruster, 2006-2014 # Markus Armbruster, 2006-2016
# #
# Usage: mksubj.pl SUBJECT... INFO-FILE... # Usage: mksubj.pl SUBJECT... INFO-FILE...
# #
@ -259,6 +259,7 @@ sub write_toc {
open(TOC, ">info/toc") open(TOC, ">info/toc")
or die "Can't open info/toc for writing: $!"; or die "Can't open info/toc for writing: $!";
print TOC join("\n", sort @toc); print TOC join("\n", sort @toc);
print TOC "\n";
close TOC; close TOC;
} }