diff options
-rw-r--r-- | CHANGELOG.md | 5 | ||||
-rw-r--r-- | src/other_tools/just_mr/utils.cpp | 3 |
2 files changed, 5 insertions, 3 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 8598de89..fe57bcc7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,8 +17,9 @@ A feature release on top of `1.1.0`, backwards compatible. - `just-import-git` now supports an option `--plain` to import a repository without dependencies. - Minor changes to the layout of the local build root; in particular, - left-over execution directories will eventually get cleaned up - by garbage collection. + left-over execution directories, as well as left-over temporary + directories of `just-mr`, will eventually get cleaned up by + garbage collection. - `just-mr` now supports unpacking tar archives compressed with bzip2 and xz. 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); } |