mirror of
https://github.com/correl/rebar.git
synced 2024-11-15 03:00:18 +00:00
Make sure to append overlay files to end of spec; otherwise might be overwritten by canonical install
This commit is contained in:
parent
c3f0f2565b
commit
4d3c7e60d6
1 changed files with 1 additions and 1 deletions
|
@ -203,7 +203,7 @@ process_rebar_specs([{overlay, Source} | Rest], Spec) ->
|
||||||
case file:list_dir(Source) of
|
case file:list_dir(Source) of
|
||||||
{ok, Files} ->
|
{ok, Files} ->
|
||||||
OverlaySpec = spec_copy_overlay(Files, Source, []),
|
OverlaySpec = spec_copy_overlay(Files, Source, []),
|
||||||
process_rebar_specs(Rest, [OverlaySpec | Spec]);
|
process_rebar_specs(Rest, Spec ++ OverlaySpec);
|
||||||
{error, Reason} ->
|
{error, Reason} ->
|
||||||
?ERROR("Failed to list overlay directory ~p: ~p\n", [Source, Reason]),
|
?ERROR("Failed to list overlay directory ~p: ~p\n", [Source, Reason]),
|
||||||
?FAIL
|
?FAIL
|
||||||
|
|
Loading…
Reference in a new issue