diff options
Diffstat (limited to 'src/rebar_prv_local_install.erl')
-rw-r--r-- | src/rebar_prv_local_install.erl | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/rebar_prv_local_install.erl b/src/rebar_prv_local_install.erl index 4422c2d..172986d 100644 --- a/src/rebar_prv_local_install.erl +++ b/src/rebar_prv_local_install.erl @@ -58,10 +58,9 @@ format_error(Reason) -> io_lib:format("~p", [Reason]). bin_contents(OutputDir) -> - <<" -#!/usr/bin/env sh + <<"#!/usr/bin/env sh -erl -pa ", (ec_cnv:to_binary(OutputDir))/binary,"/*/ebin +sbtu +A0 -noinput -boot start_clean -s rebar3 main -extra \"$@\" +erl -pz ", (ec_cnv:to_binary(OutputDir))/binary,"/*/ebin +sbtu +A0 -noshell -boot start_clean -s rebar3 main -extra \"$@\" ">>. extract_escript(State, ScriptPath) -> |