fix(otp23.3): OTP app overwrites support emqx-edge

This commit is contained in:
William Yang 2022-07-26 10:41:01 +02:00
parent c9c1dfb823
commit b17078b93f
1 changed files with 2 additions and 0 deletions

View File

@ -34,6 +34,8 @@ base_rel_overwrites(RelVsn, Profile, Dir, ErtsVsn, Overwrites) ->
],
ok = file:write_file(RelFile, io_lib:format("~p.", NewData)).
rel_file("emqx-edge", Dir, RelVsn)->
rel_file("emqx", Dir, RelVsn);
rel_file(Profile, Dir, RelVsn)->
filename:join([Dir, RelVsn, Profile++".rel"]).