Fix expansion of ROOT
This commit is contained in:
parent
12f458eaad
commit
0a3abd96a1
|
@ -586,7 +586,7 @@ module Action = struct
|
||||||
end
|
end
|
||||||
| _ ->
|
| _ ->
|
||||||
match var with
|
match var with
|
||||||
| "ROOT" -> Some (path_exp Path.root)
|
| "ROOT" -> Some (path_exp sctx.context.build_dir)
|
||||||
| "@" -> begin
|
| "@" -> begin
|
||||||
match targets_written_by_user with
|
match targets_written_by_user with
|
||||||
| Infer -> Loc.fail loc "You cannot use ${@} with inferred rules."
|
| Infer -> Loc.fail loc "You cannot use ${@} with inferred rules."
|
||||||
|
|
Loading…
Reference in New Issue