aboutsummaryrefslogtreecommitdiff
path: root/bdep/project.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'bdep/project.cxx')
-rw-r--r--bdep/project.cxx7
1 files changed, 2 insertions, 5 deletions
diff --git a/bdep/project.cxx b/bdep/project.cxx
index 21f6f09..7f80c9f 100644
--- a/bdep/project.cxx
+++ b/bdep/project.cxx
@@ -62,8 +62,7 @@ namespace bdep
{
for (dir_path d: po.config ())
{
- d.complete ();
- d.normalize ();
+ normalize (d, "configuration");
if (auto c = db.query_one<configuration> (query::path == d.string ()))
add (move (c));
@@ -135,9 +134,7 @@ namespace bdep
dir_path prj;
optional<dir_path> pkg;
- dir_path d (start);
- d.complete ();
- d.normalize ();
+ dir_path d (normalize (start, "project"));
for (; !d.empty (); d = d.directory ())
{
// Ignore errors when checking for file existence since we may be