Skip to content

Commit

Permalink
Ensure cuttleifsh bin is copied
Browse files Browse the repository at this point in the history
  • Loading branch information
Licenser committed Feb 25, 2016
1 parent fd3339a commit 92f8a88
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/rebar3_cuttlefish_release.erl
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,9 @@ do(State) ->
Overlays1 = case {lists:keyfind(schema_discovery, 1, CFConf),
lists:keyfind(overlay, 1, Relx)} of
{{schema_discovery, false}, {overlay, Overlays}} ->
Overlays;
Overlays ++ overlays(Name, CuttlefishBin, Overlays, []);
{{schema_discovery, false}, _} ->
[];
overlays(Name, CuttlefishBin, [], []);
{_, {overlay, Overlays}} when is_list(Overlays) ->
Overlays ++ overlays(Name, CuttlefishBin, Overlays, AllSchemas);
_ ->
Expand Down

0 comments on commit 92f8a88

Please sign in to comment.