From 4e7d2c467d384503fedb5e6e36052cd56d69666e Mon Sep 17 00:00:00 2001 From: Klaus Aehlig Date: Wed, 28 Jun 2023 16:15:18 +0200 Subject: just-mr: move tmp-workspace under generation rotation ... so that any left-over directories, in case of abnormal termination are cleaned up eventually. --- src/other_tools/just_mr/utils.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/other_tools/just_mr/utils.cpp b/src/other_tools/just_mr/utils.cpp index d95163fa..94a1f53b 100644 --- a/src/other_tools/just_mr/utils.cpp +++ b/src/other_tools/just_mr/utils.cpp @@ -38,7 +38,8 @@ auto GetGitRoot(JustMR::PathsPtr const& just_mr_paths, auto CreateTypedTmpDir(std::string const& type) noexcept -> TmpDirPtr { // try to create parent dir - auto parent_path = StorageConfig::BuildRoot() / "tmp-workspaces" / type; + auto parent_path = + StorageConfig::GenerationCacheRoot(0) / "tmp-workspaces" / type; return TmpDir::Create(parent_path); } -- cgit v1.2.3