summaryrefslogtreecommitdiff
path: root/src/buildtool/storage/fs_utils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/buildtool/storage/fs_utils.cpp')
-rw-r--r--src/buildtool/storage/fs_utils.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/buildtool/storage/fs_utils.cpp b/src/buildtool/storage/fs_utils.cpp
index 83167181..5cc3d8a0 100644
--- a/src/buildtool/storage/fs_utils.cpp
+++ b/src/buildtool/storage/fs_utils.cpp
@@ -51,8 +51,7 @@ auto GetGitRoot(LocalPathsPtr const& just_mr_paths,
auto CreateTypedTmpDir(std::string const& type) noexcept -> TmpDirPtr {
// try to create parent dir
- auto parent_path =
- StorageConfig::GenerationCacheRoot(0) / "tmp-workspaces" / type;
+ auto parent_path = StorageConfig::EphemeralRoot() / "tmp-workspaces" / type;
return TmpDir::Create(parent_path);
}