aboutsummaryrefslogtreecommitdiff
path: root/bpkg/auth.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2017-12-23 19:05:22 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-12-28 17:39:03 +0300
commit42ae47c3033a8c9ce70f1e6fb4c88ed70ac679fb (patch)
treebdd2cdbf35b4dfbfbc77763156182f03d497ad16 /bpkg/auth.cxx
parentdc5296af63000cddc4b46fc205137c20578cb81f (diff)
Add repository type detection
Diffstat (limited to 'bpkg/auth.cxx')
-rw-r--r--bpkg/auth.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/bpkg/auth.cxx b/bpkg/auth.cxx
index dc4aba8..da4d0b5 100644
--- a/bpkg/auth.cxx
+++ b/bpkg/auth.cxx
@@ -70,7 +70,7 @@ namespace bpkg
if (rl.remote ())
return repository_location (p.posix_string (), rl).canonical_name ();
else
- return (rl.path () / p).normalize ().string ();
+ return (path_cast<dir_path> (rl.path ()) / p).normalize ().string ();
}
// Authenticate a dummy certificate. If trusted, it will authenticate all