Преглед на файлове

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

pull/786/head
Tristan Sloughter преди 9 години
родител
ревизия
9dfec19c67
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. +1
    -1
      src/rebar_prv_escriptize.erl

+ 1
- 1
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,

Зареждане…
Отказ
Запис