diff options
Diffstat (limited to 'bdep/new.cxx')
-rw-r--r-- | bdep/new.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bdep/new.cxx b/bdep/new.cxx index ce6d1ca..7589dca 100644 --- a/bdep/new.cxx +++ b/bdep/new.cxx @@ -97,8 +97,9 @@ namespace bdep else s = n; - dir_path prj (n); + dir_path prj (o.directory_specified () ? o.directory () : dir_path (n)); prj.complete (); + prj.normalize (); // If the directory already exists, make sure it is empty. Otherwise // create it. |