Skip to content

Commit

Permalink
Merge pull request #941 from ferd/otp-27-escript-compat
Browse files Browse the repository at this point in the history
Force -mode(interpret) in templated escripts
  • Loading branch information
ferd authored Aug 27, 2024
2 parents bacc278 + ba96e6d commit 19bbd63
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions priv/templates/install_upgrade_escript
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
%%! -noinput
%% -*- mode: erlang;erlang-indent-level: 4;indent-tabs-mode: nil -*-
%% ex: ft=erlang ts=4 sw=4 et
-mode(interpret).

-define(TIMEOUT, 300000).
-define(INFO(Fmt,Args), io:format(Fmt,Args)).
Expand Down
1 change: 1 addition & 0 deletions priv/templates/nodetool
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
%% relx when OTP-23 becomes the earliest support version of OTP.
%%
%% -------------------------------------------------------------------
-mode(interpret).

main(Args) ->
%% Extract the args
Expand Down

0 comments on commit 19bbd63

Please sign in to comment.