Skip to content

Commit 1067550

Browse files
committed
Fix problem with an in-dep rebar not being found—need to pass in the full path to it, and not just ./rebar
1 parent 03a11b4 commit 1067550

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/mix/lib/mix/tasks/deps.compile.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ defmodule Mix.Tasks.Deps.Compile do
139139
defp find_rebar(app) do
140140
cond do
141141
File.regular?("./rebar") ->
142-
"./rebar"
142+
Path.join(File.cwd!, "rebar")
143143

144144
File.regular?(Mix.Tasks.Local.Rebar.local_rebar_path) ->
145145
Mix.Tasks.Local.Rebar.local_rebar_path

0 commit comments

Comments
 (0)