aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bdep/new.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/bdep/new.cxx b/bdep/new.cxx
index 7276dfd..7b57ed1 100644
--- a/bdep/new.cxx
+++ b/bdep/new.cxx
@@ -94,6 +94,8 @@ namespace bdep
s.assign (n, 3, string::npos);
}
+ else
+ s = n;
dir_path prj (n);
prj.complete ();