Skip to content

Commit 26cd527

Browse files
committed
Port Relx compatibility fix prior to version bump
Manyally applies erlware/relx#941 to vendored files, since the relx release for it isn't in place just yet but we need OTP-27 compatibility.
1 parent 1959c16 commit 26cd527

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

vendor/relx/priv/templates/install_upgrade_escript

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
%%! -noinput
33
%% -*- mode: erlang;erlang-indent-level: 4;indent-tabs-mode: nil -*-
44
%% ex: ft=erlang ts=4 sw=4 et
5+
-mode(interpret).
56

67
-define(TIMEOUT, 300000).
78
-define(INFO(Fmt,Args), io:format(Fmt,Args)).

vendor/relx/priv/templates/nodetool

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
%% relx when OTP-23 becomes the earliest support version of OTP.
1111
%%
1212
%% -------------------------------------------------------------------
13+
-mode(interpret).
1314

1415
main(Args) ->
1516
%% Extract the args

0 commit comments

Comments
 (0)