Skip to content

Commit

Permalink
make escriptize reproducible with erlang 27.1
Browse files Browse the repository at this point in the history
  • Loading branch information
delitrem committed Sep 18, 2024
1 parent 7da4837 commit 3fa323b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion apps/rebar/src/rebar_prv_escriptize.erl
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,9 @@ read_file(Prefix, Filename, Dir) ->
FilePath = filename:join(Dir, Filename),
{ok, FileInfo0} = file:read_file_info(FilePath),
DateTime = {{1970, 1, 1}, {0, 0, 1}},
FileInfo = FileInfo0#file_info{mtime = DateTime},
FileInfo = FileInfo0#file_info{atime = DateTime,
ctime = DateTime,
mtime = DateTime},
[dir_entries(filename:dirname(Filename1)),
{Filename1, file_contents(FilePath), FileInfo}].

Expand Down

0 comments on commit 3fa323b

Please sign in to comment.