瀏覽代碼

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

Loading…
取消
儲存