浏览代码

Make sure to append overlay files to end of spec; otherwise might be overwritten by canonical install

pull/3/head
Dave Smith 15 年前
父节点
当前提交
4d3c7e60d6
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      src/rebar_reltool.erl

+ 1
- 1
src/rebar_reltool.erl 查看文件

@ -203,7 +203,7 @@ process_rebar_specs([{overlay, Source} | Rest], Spec) ->
case file:list_dir(Source) of
{ok, Files} ->
OverlaySpec = spec_copy_overlay(Files, Source, []),
process_rebar_specs(Rest, [OverlaySpec | Spec]);
process_rebar_specs(Rest, Spec ++ OverlaySpec);
{error, Reason} ->
?ERROR("Failed to list overlay directory ~p: ~p\n", [Source, Reason]),
?FAIL

正在加载...
取消
保存