summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTristan Sloughter <t@crashfast.com>2015-09-11 21:12:26 -0500
committerTristan Sloughter <t@crashfast.com>2015-09-14 20:00:39 -0500
commit16ea08b9c3aee3608d71cd3e9baf3c16546eda09 (patch)
treeffe18ef3efb4b2942c78928e5d4edee8fc18d06c /src
parent4c29a771c1a5c8d81bf727b98d40ecd9f486f66f (diff)
add rebar3 paths to the end of the code path in start script
Diffstat (limited to 'src')
-rw-r--r--src/rebar_prv_local_install.erl3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/rebar_prv_local_install.erl b/src/rebar_prv_local_install.erl
index bf536d0..4babd14 100644
--- a/src/rebar_prv_local_install.erl
+++ b/src/rebar_prv_local_install.erl
@@ -58,8 +58,7 @@ 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 -noshell -boot start_clean -s rebar3 main -extra \"$@\"
">>.