ibuild: Write newline to end of tz_index.hrl file.
This commit is contained in:
parent
458cedf2a2
commit
67b61c8f94
1 changed files with 1 additions and 1 deletions
|
@ -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) ->
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue