From a791b1ce0fa2bc9859474fb6f7a9c0ff8cbd1d4a Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Wed, 22 Feb 2017 00:58:53 +0300 Subject: Port test.sh to testscript --- bpkg/types | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'bpkg') diff --git a/bpkg/types b/bpkg/types index 1171444..cfe2add 100644 --- a/bpkg/types +++ b/bpkg/types @@ -90,12 +90,14 @@ namespace bpkg // namespace std { - // Custom path printing (with trailing slash for directories). + // Custom path printing (canonicalized, with trailing slash for directories). // inline ostream& operator<< (ostream& os, const ::butl::path& p) { - return os << p.representation (); + string r (p.representation ()); + ::butl::path::traits::canonicalize (r); + return os << r; } } -- cgit v1.1