summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTristan Sloughter <t@crashfast.com>2015-09-11 21:15:12 -0500
committerTristan Sloughter <t@crashfast.com>2015-09-14 20:00:39 -0500
commit9dfec19c67fc72f9ff9abbef95bcfd74a4471056 (patch)
tree1adc4832e37ae1dc2e6e83f4f942e17ac108b48c /src
parent16ea08b9c3aee3608d71cd3e9baf3c16546eda09 (diff)
escript should append the ebin dirs to the code path not prepend
Diffstat (limited to 'src')
-rw-r--r--src/rebar_prv_escriptize.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rebar_prv_escriptize.erl b/src/rebar_prv_escriptize.erl
index 3cdc9bf..32f5508 100644
--- a/src/rebar_prv_escriptize.erl
+++ b/src/rebar_prv_escriptize.erl
@@ -107,7 +107,7 @@ escriptize(State0, App) ->
ExtraFiles = usort(InclBeams ++ InclExtra),
Files = get_nonempty(EbinFiles ++ ExtraFiles),
- DefaultEmuArgs = ?FMT("%%! -escript main ~s -pa ~s/~s/ebin\n",
+ DefaultEmuArgs = ?FMT("%%! -escript main ~s -pz ~s/~s/ebin\n",
[AppNameStr, AppNameStr, AppNameStr]),
EscriptSections =
[ {shebang,