diff --git a/source/dub/commandline.d b/source/dub/commandline.d index 5f9e173..710629a 100644 --- a/source/dub/commandline.d +++ b/source/dub/commandline.d @@ -1570,7 +1570,7 @@ // adjust all path based dependencies of the root package void fixPathDependency(string pack, ref Dependency dep) { if (dep.path.length > 0) - dep.path = path ~ pack; + dep.path = Path("../") ~ pack; } foreach (name, ref dep; prj.rootPackage.info.buildSettings.dependencies) fixPathDependency(name, dep);