浏览代码

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,

正在加载...
取消
保存