aboutsummaryrefslogtreecommitdiff
path: root/bpkg/manifest-utility.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2018-03-06 23:52:11 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2018-03-08 13:35:44 +0300
commit7e4b2dcd0e5ddd37276879e699fd84059183f5e2 (patch)
treec6edcaf646a28f7a993b348401c2f330d99cba10 /bpkg/manifest-utility.cxx
parentccd8c8dadfcfd9181772b3061e7b075d88942505 (diff)
Add support for dir repository
Diffstat (limited to 'bpkg/manifest-utility.cxx')
-rw-r--r--bpkg/manifest-utility.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/bpkg/manifest-utility.cxx b/bpkg/manifest-utility.cxx
index 9f4a012..a2b817d 100644
--- a/bpkg/manifest-utility.cxx
+++ b/bpkg/manifest-utility.cxx
@@ -137,7 +137,9 @@ namespace bpkg
{
switch (l.type ())
{
- case repository_type::pkg: return dir_path (); // No state.
+ case repository_type::pkg:
+ case repository_type::dir: return dir_path (); // No state.
+
case repository_type::git:
{
return dir_path (sha256 (l.canonical_name ()).abbreviated_string (16));