Skip to content

Commit 31905ca

Browse files
committed
Ensure relative MIX_BUILD_PATH is discarded on deps
Closes #14875.
1 parent 3c1514a commit 31905ca

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/mix/lib/mix/project.ex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -768,12 +768,12 @@ defmodule Mix.Project do
768768
@spec build_path(keyword) :: Path.t()
769769
def build_path(config \\ config()) do
770770
cond do
771-
build_path = System.get_env("MIX_BUILD_PATH") ->
772-
Path.expand(build_path)
773-
774771
deps_build_path = config[:deps_build_path] ->
775772
deps_build_path
776773

774+
build_path = System.get_env("MIX_BUILD_PATH") ->
775+
Path.expand(build_path)
776+
777777
true ->
778778
do_build_path(config)
779779
end

0 commit comments

Comments
 (0)