From d77ca8720df495017139a24a59c502f53c07df9f Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Thu, 22 Apr 2021 21:57:13 +0300 Subject: Add support for associated configurations --- bpkg/utility.hxx | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'bpkg/utility.hxx') diff --git a/bpkg/utility.hxx b/bpkg/utility.hxx index 4360118..466f9f1 100644 --- a/bpkg/utility.hxx +++ b/bpkg/utility.hxx @@ -42,6 +42,11 @@ namespace bpkg using butl::icasecmp; using butl::reverse_iterate; + using butl::alpha; + using butl::alnum; + using butl::digit; + using butl::xdigit; + using butl::make_guard; using butl::make_exception_guard; @@ -74,6 +79,7 @@ namespace bpkg extern const dir_path bpkg_dir; // .bpkg/ extern const dir_path certs_dir; // .bpkg/certs/ extern const dir_path repos_dir; // .bpkg/repos/ + extern const dir_path host_dir; // .bpkg/host/ extern const dir_path current_dir; // ./ // Temporary directory facility. @@ -123,6 +129,9 @@ namespace bpkg return move (normalize (r, what)); } + dir_path + current_directory (); + // Progress. // extern bool stderr_term; // True if stderr is a terminal. -- cgit v1.1