aboutsummaryrefslogtreecommitdiff
path: root/bpkg/auth.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'bpkg/auth.cxx')
-rw-r--r--bpkg/auth.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/bpkg/auth.cxx b/bpkg/auth.cxx
index df31a60..bdcf528 100644
--- a/bpkg/auth.cxx
+++ b/bpkg/auth.cxx
@@ -69,7 +69,7 @@ namespace bpkg
if (rl.remote ())
return repository_location (
repository_url (p.posix_string ()),
- repository_type::bpkg,
+ repository_type::pkg,
rl).canonical_name ();
else
return (path_cast<dir_path> (rl.path ()) / p).normalize ().string ();
@@ -711,9 +711,9 @@ namespace bpkg
pair<string, string> c (split (cert.name));
- // Strip 'bpkg:' prefix.
+ // Strip 'pkg:' prefix.
//
- pair<string, string> r (split (rl.canonical_name ().substr (5)));
+ pair<string, string> r (split (rl.canonical_name ().substr (4)));
// Match the repository canonical name leading part.
//