diff options
-rw-r--r-- | src/rebar_prv_escriptize.erl | 2 |
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, |