summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Sloughter <t@crashfast.com>2016-01-22 15:23:03 -0600
committerTristan Sloughter <t@crashfast.com>2016-01-22 15:23:03 -0600
commitecdcf7cd36f37f304e1231dce38a69b45817f473 (patch)
treead7ff20ad59ca24fd7af36ec73965c994281b7a7
parentc9213a08be158337f4ec13452821033d915b04e6 (diff)
add support for setting erl vm args with REBAR3_ERL_ARGS
-rw-r--r--src/rebar_prv_local_install.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rebar_prv_local_install.erl b/src/rebar_prv_local_install.erl
index 65468a3..66702cf 100644
--- a/src/rebar_prv_local_install.erl
+++ b/src/rebar_prv_local_install.erl
@@ -60,7 +60,7 @@ format_error(Reason) ->
bin_contents(OutputDir) ->
<<"#!/usr/bin/env sh
-erl -pz ", (ec_cnv:to_binary(OutputDir))/binary,"/*/ebin +sbtu +A0 -noshell -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 $REBAR3_ERL_ARGS -extra \"$@\"
">>.
extract_escript(State, ScriptPath) ->