From 00cda575c97494d1b6caf2d05ea8a1f8e848cd8a Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Fri, 3 Jun 2022 21:53:48 +0300 Subject: Add --keep-temp common option --- bpkg/utility.hxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'bpkg/utility.hxx') diff --git a/bpkg/utility.hxx b/bpkg/utility.hxx index 4cbfc3c..2dcf46d 100644 --- a/bpkg/utility.hxx +++ b/bpkg/utility.hxx @@ -100,7 +100,9 @@ namespace bpkg // commands in main(), so you don't need to call init_tmp() explicitly // except for certain special commands (like cfg-create). // - extern std::map temp_dir; + extern std::map tmp_dirs; + + extern bool keep_tmp; // --keep-tmp auto_rmfile tmp_file (const dir_path& cfg, const string& prefix); -- cgit v1.1