From 706a0a18bd2f259be6d61cf83a0ba3c3f9674c5c Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Sat, 3 Mar 2018 13:25:02 +0300 Subject: Shorten bpkg certificates and repositories directory names --- bpkg/utility.cxx | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'bpkg/utility.cxx') diff --git a/bpkg/utility.cxx b/bpkg/utility.cxx index d80e55e..652cd46 100644 --- a/bpkg/utility.cxx +++ b/bpkg/utility.cxx @@ -22,8 +22,12 @@ namespace bpkg const dir_path empty_dir_path; const dir_path bpkg_dir (".bpkg"); - const dir_path certs_dir (dir_path (bpkg_dir) /= "certificates"); - const dir_path repos_dir (dir_path (bpkg_dir) /= "repositories"); + + // Keep these directory names short, lowering the probability of hitting the + // path length limit on Windows. + // + const dir_path certs_dir (dir_path (bpkg_dir) /= "certs"); + const dir_path repos_dir (dir_path (bpkg_dir) /= "repos"); const dir_path current_dir ("."); -- cgit v1.1