aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-04-19 18:49:53 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2018-04-19 18:49:53 +0200
commit7df25614e207c0751972938ff48bf9a44cc14748 (patch)
treea903e55b97bbc857461c24aa396047e4dbdbc438
parent86a798a2d9c1c53720b61cf2ee47e318ee995072 (diff)
Fix bug in new command
-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 ();