aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bdep/project.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/bdep/project.cxx b/bdep/project.cxx
index 7055e3c..9467be1 100644
--- a/bdep/project.cxx
+++ b/bdep/project.cxx
@@ -295,6 +295,9 @@ namespace bdep
{
for (const dir_path& d: dirs)
{
+ if (!exists (d))
+ fail << "project/package directory " << d << " does not exist";
+
project_package p (find_project_package (d));
// We only work on one project at a time.