aboutsummaryrefslogtreecommitdiff
path: root/bpkg/auth.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2018-03-03 18:50:18 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2018-03-05 12:26:23 +0300
commit0d3525d80fbeee78ae49384f2d722de20127a040 (patch)
tree6e60603e396c7cd0e781806782dfa31cb13980cf /bpkg/auth.cxx
parent87841c9288561a3ad580ae23bb288ff3d3d39719 (diff)
Rename bpkg repository type to pkg
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.
//