From 42ae47c3033a8c9ce70f1e6fb4c88ed70ac679fb Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Sat, 23 Dec 2017 19:05:22 +0300 Subject: Add repository type detection --- bpkg/auth.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bpkg/auth.cxx') 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 (rl.path ()) / p).normalize ().string (); } // Authenticate a dummy certificate. If trusted, it will authenticate all -- cgit v1.1