Explorar el Código

escript should append the ebin dirs to the code path not prepend

pull/786/head
Tristan Sloughter hace 9 años
padre
commit
9dfec19c67
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      src/rebar_prv_escriptize.erl

+ 1
- 1
src/rebar_prv_escriptize.erl Ver fichero

@ -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,

Cargando…
Cancelar
Guardar