aboutsummaryrefslogtreecommitdiff
path: root/bpkg/auth.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2018-02-13 23:31:05 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2018-02-15 12:12:30 +0300
commit0e1deb6510594c896804b7409e2f33fd2d035e3d (patch)
tree5b5fbeaeceaa6720416ceb9a6ca79e5cab49e578 /bpkg/auth.cxx
parentfbc7f6db25c322ea0da0a13d080d07b84f8bc497 (diff)
Adapt to package/repository manifests API change
Diffstat (limited to 'bpkg/auth.cxx')
-rw-r--r--bpkg/auth.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/bpkg/auth.cxx b/bpkg/auth.cxx
index ebc98b0..df9a259 100644
--- a/bpkg/auth.cxx
+++ b/bpkg/auth.cxx
@@ -69,7 +69,9 @@ namespace bpkg
//
if (rl.remote ())
return repository_location (
- repository_url (p.posix_string ()), rl).canonical_name ();
+ repository_url (p.posix_string ()),
+ repository_type::bpkg,
+ rl).canonical_name ();
else
return (path_cast<dir_path> (rl.path ()) / p).normalize ().string ();
}