Skip to content

Commit

Permalink
no filename:join/3 yo
Browse files Browse the repository at this point in the history
  • Loading branch information
tsloughter committed Feb 23, 2016
1 parent d321efa commit 0f3e010
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rebar3_cuttlefish_release.erl
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ do(State) ->
ReleaseDir = filename:join(rebar_dir:base_dir(State), "rel"),
CuttlefishBin = case filelib:is_regular(filename:join([rebar_dir:base_dir(State), "bin", "cuttlefish"])) of
true ->
filename:join(rebar_dir:base_dir(State), "bin", "cuttlefish");
filename:join([rebar_dir:base_dir(State), "bin", "cuttlefish"]);
false ->
case filelib:wildcard(filename:join(["_build", "*", "bin", "cuttlefish"])) of
[C | _] ->
Expand Down

0 comments on commit 0f3e010

Please sign in to comment.