Skip to content

Commit 95a30f3

Browse files
author
José Valim
committed
Merge pull request #1042 from pragdave/master
One liner in mix do_rebar in deps.compile
2 parents 03a11b4 + 1067550 commit 95a30f3

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)