diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2018-03-03 13:25:02 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2018-03-03 15:38:50 +0300 |
commit | 706a0a18bd2f259be6d61cf83a0ba3c3f9674c5c (patch) | |
tree | 4269d906a0138f10c85e8fefefc5fa258ae7854d /bpkg/utility.cxx | |
parent | fca35b977472f5fec9a1a8129792e94cc78cc204 (diff) |
Shorten bpkg certificates and repositories directory names
Diffstat (limited to 'bpkg/utility.cxx')
-rw-r--r-- | bpkg/utility.cxx | 8 |
1 files changed, 6 insertions, 2 deletions
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 ("."); |