diff --git a/source/dub/commandline.d b/source/dub/commandline.d index 539d988..c6a70fe 100644 --- a/source/dub/commandline.d +++ b/source/dub/commandline.d @@ -212,6 +212,7 @@ if (!cmd.skipDubInitialization) { if (options.bare) { dub = new Dub(Path(getcwd())); + dub.rootPath = Path(options.root_path); dub.defaultPlacementLocation = options.placementLocation; } else { // initialize DUB