diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2022-06-03 21:53:48 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2022-06-07 13:49:14 +0300 |
commit | 00cda575c97494d1b6caf2d05ea8a1f8e848cd8a (patch) | |
tree | 19adfe4823b460367b80630c2b43ed553fc391a0 /bpkg/utility.hxx | |
parent | deecf4971fbc90b472135e30387bc76e9788061b (diff) |
Add --keep-temp common option
Diffstat (limited to 'bpkg/utility.hxx')
-rw-r--r-- | bpkg/utility.hxx | 4 |
1 files changed, 3 insertions, 1 deletions
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<dir_path, dir_path> temp_dir; + extern std::map<dir_path, dir_path> tmp_dirs; + + extern bool keep_tmp; // --keep-tmp auto_rmfile tmp_file (const dir_path& cfg, const string& prefix); |