Fix local depdir calculation

This commit is contained in:
Mac Malone 2021-06-02 18:25:30 -04:00
parent 9544f3dad8
commit 158838bf63

View file

@ -31,7 +31,7 @@ def materializeGit
def materialize (relPath : FilePath) (dep : Dependency) : IO FilePath :=
match dep.src with
| Source.path dir => do
let depdir := dir / relPath
let depdir := relPath / dir
IO.eprintln s!"{dep.name}: using local path {depdir}"
depdir
| Source.git url rev branch => do