Browse Source

add rebar3 paths to the end of the code path in start script

pull/786/head
Tristan Sloughter 9 years ago
parent
commit
16ea08b9c3
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      src/rebar_prv_local_install.erl

+ 1
- 2
src/rebar_prv_local_install.erl View File

@ -58,8 +58,7 @@ format_error(Reason) ->
io_lib:format("~p", [Reason]). io_lib:format("~p", [Reason]).
bin_contents(OutputDir) -> bin_contents(OutputDir) ->
<<"
#!/usr/bin/env sh
<<"#!/usr/bin/env sh
erl -pa ", (ec_cnv:to_binary(OutputDir))/binary,"/*/ebin +sbtu +A0 -noshell -boot start_clean -s rebar3 main -extra \"$@\" erl -pa ", (ec_cnv:to_binary(OutputDir))/binary,"/*/ebin +sbtu +A0 -noshell -boot start_clean -s rebar3 main -extra \"$@\"
">>. ">>.

Loading…
Cancel
Save