Skip to content

Commit

Permalink
Merge pull request vernemq#16 from RJ/master
Browse files Browse the repository at this point in the history
fix bin paths if cuttlefish is only found in _checkouts
  • Loading branch information
tsloughter committed May 16, 2016
2 parents f3c9de7 + ab0ce6d commit e3f6980
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/rebar3_cuttlefish_release.erl
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ do(State) ->
true ->
filename:join([rebar_dir:base_dir(State), "bin", "cuttlefish"]);
false ->
case filelib:wildcard(filename:join(["_build", "*", "bin", "cuttlefish"])) of
case filelib:wildcard(filename:join(["_build", "*", "bin", "cuttlefish"])) ++
filelib:wildcard(filename:join(["_checkouts", "cuttlefish*", "cuttlefish"])) of
[C | _] ->
C;
[] ->
Expand Down

0 comments on commit e3f6980

Please sign in to comment.