ibuild: Write newline to end of tz_index.hrl file.

This commit is contained in:
David Hull 2015-11-21 23:01:46 +00:00
parent 458cedf2a2
commit 67b61c8f94

View file

@ -24,7 +24,7 @@ build_index() ->
end, end,
I = lists:foldl(F, dict:new(), ?tz_database), I = lists:foldl(F, dict:new(), ?tz_database),
{ok, File} = file:open("tz_index.hrl", [write]), {ok, File} = file:open("tz_index.hrl", [write]),
io:fwrite(File, "-define(tz_index, ~p).", [I]). io:fwrite(File, "-define(tz_index, ~p).\n", [I]).
%% So this can be run from escript: %% So this can be run from escript:
main(_Args) -> main(_Args) ->